-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy path.eslintrc.json
45 lines (45 loc) · 1.04 KB
/
.eslintrc.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
{
"root": true,
"extends": [
"wikimedia/client-es6",
"wikimedia/jquery",
"wikimedia/mediawiki"
],
"globals": {
"blueSpice": "readonly",
"bs": "readonly",
"BS": "readonly",
"jQuery": "readonly",
"mediaWiki": "readonly"
},
"rules": {
"no-implicit-globals": "warn",
"no-console": "warn",
"eqeqeq": "warn",
"no-useless-concat": "warn",
"camelcase": "warn",
"no-underscore-dangle": "warn",
"no-undef": "warn",
"no-unused-vars": "warn",
"no-shadow-restricted-names": "warn",
"no-extend-native": "warn",
"no-bitwise": "warn",
"no-global-assign": "warn",
"no-redeclare": "warn",
"no-prototype-builtins": "warn",
"mediawiki/msg-doc": "warn",
"no-shadow": "warn",
"unicorn/prefer-string-slice": "warn",
"no-var": "warn",
"no-jquery/no-global-selector": "warn",
"no-jquery/no-class-state": "warn",
"no-jquery/variable-pattern": "warn",
"no-jquery/no-each-util": "warn",
"no-jquery/no-in-array": "warn",
"max-len": "off",
"es-x/no-async-functions": "off"
},
"parserOptions": {
"ecmaVersion": 8
}
}