diff options
Diffstat (limited to 'MLEB/Translate/.eslintrc.json')
-rw-r--r-- | MLEB/Translate/.eslintrc.json | 27 |
1 files changed, 16 insertions, 11 deletions
diff --git a/MLEB/Translate/.eslintrc.json b/MLEB/Translate/.eslintrc.json index 51e3d84e..2ebdc144 100644 --- a/MLEB/Translate/.eslintrc.json +++ b/MLEB/Translate/.eslintrc.json @@ -1,16 +1,21 @@ { "root": true, - "extends": "wikimedia", - "env": { - "browser": true - }, - "globals": { - "mw": false, - "$": false, - "OO": false - }, + "extends": [ + "wikimedia/client", + "wikimedia/jquery", + "wikimedia/mediawiki", + "wikimedia/jsduck" + ], "rules": { - "max-len": 0, - "no-use-before-define": 0 + "max-len": "off", + "no-use-before-define": "off", + "mediawiki/class-doc": "warn", + "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" } } |