module.exports = [
js.configs.recommended,
erb.configs.recommended,
+ {
+ ignores: [
+ "app/assets/javascripts/i18n/",
+ "coverage/assets/",
+ "public/assets/",
+ "vendor/"
+ ]
+ },
{
plugins: {
"@stylistic": stylisticJs
"curly": ["error", "multi-line", "consistent"],
"dot-notation": "error",
"eqeqeq": ["error", "smart"],
- "no-alert": "warn",
+ "no-alert": "error",
"no-array-constructor": "error",
"no-caller": "error",
"no-console": "warn",
"no-extra-bind": "error",
"no-extra-label": "error",
"no-implicit-coercion": "warn",
- "no-implicit-globals": "warn",
+ "no-implicit-globals": "error",
"no-implied-eval": "error",
"no-invalid-this": "error",
"no-iterator": "error",