LearningSalesForceCommerceC.../storefront-reference-architecture/.eslintrc.json
2021-12-21 10:57:31 -08:00

16 lines
574 B
JSON

{
"root": true,
"extends": "airbnb-base/legacy",
"rules": {
"import/no-unresolved": "off",
"indent": ["error", 4, { "SwitchCase": 1, "VariableDeclarator": 1 }],
"func-names": "off",
"require-jsdoc": "error",
"valid-jsdoc": ["error", { "preferType": { "Boolean": "boolean", "Number": "number", "object": "Object", "String": "string" }, "requireReturn": false}],
"vars-on-top": "off",
"global-require": "off",
"no-shadow": ["error", { "allow": ["err", "callback"]}],
"max-len": "off"
}
}