-
Notifications
You must be signed in to change notification settings - Fork 14
/
Copy path.eslintrc.json
40 lines (39 loc) · 949 Bytes
/
.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
{
"root": true,
"parserOptions": {
"sourceType": "module"
},
"extends": [
"wikimedia/client-common",
"wikimedia/language/es2021",
"wikimedia/common"
],
"globals": {
"chrome": "readonly"
},
"rules": {
"arrow-parens": [ "error", "as-needed" ],
"indent": [ "error", 4, {
"SwitchCase": 1
} ],
"max-len": [ "warn", {
"code": 129
} ],
"no-bitwise": "off",
"no-implicit-globals": "off",
"no-multiple-empty-lines": [ "error", {
"max": 2
} ],
"no-unused-vars": [ "error", {
"argsIgnorePattern": "^_",
"varsIgnorePattern": "^_"
} ],
"no-underscore-dangle": [
"off",
"Private/internal/protected methods."
],
"operator-linebreak": [ "error", "before" ],
"one-var": "off",
"one-var-declaration-per-line": [ "error", "initializations" ]
}
}