vtex-home-page/.eslintrc.js

31 lines
610 B
JavaScript
Raw Permalink Normal View History

2022-12-05 13:22:58 +00:00
module.exports = {
env: {
browser: true,
jquery: true,
},
globals: {
Modulo: true,
},
extends: "eslint:recommended",
parserOptions: {
ecmaVersion: 10,
sourceType: "module",
},
rules: {
indent: ["warn", "tab", { SwitchCase: 1 }],
"linebreak-style": ["warn", "unix"],
"no-unused-vars": [
"warn",
{ vars: "all", args: "after-used", ignoreRestSiblings: false },
],
"valid-typeof": "warn",
"no-dupe-keys": "warn",
semi: "off",
"no-console": "off",
"no-useless-escape": "off",
"no-case-declarations": "error",
"no-undef": "off",
"no-prototype-builtins": "off",
},
};