summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'MLEB/Translate/.eslintrc.json')
-rw-r--r--MLEB/Translate/.eslintrc.json8
1 files changed, 6 insertions, 2 deletions
diff --git a/MLEB/Translate/.eslintrc.json b/MLEB/Translate/.eslintrc.json
index 2ebdc144..260fb0fd 100644
--- a/MLEB/Translate/.eslintrc.json
+++ b/MLEB/Translate/.eslintrc.json
@@ -6,6 +6,9 @@
"wikimedia/mediawiki",
"wikimedia/jsduck"
],
+ "globals": {
+ "Chart": "readonly"
+ },
"rules": {
"max-len": "off",
"no-use-before-define": "off",
@@ -13,9 +16,10 @@
"no-jquery/no-animate-toggle": "warn",
"no-jquery/no-class-state": "off",
"no-jquery/no-each-util": "warn",
- "no-jquery/no-fade": "warn",
"no-jquery/no-global-selector": "off",
"no-jquery/no-map-util": "warn",
- "no-jquery/no-sizzle": "warn"
+ "no-jquery/no-sizzle": "warn",
+ "no-shadow": "warn",
+ "no-jquery/no-visibility": "error"
}
}