forked from Liquipedia/Lua-Modules
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc.json
34 lines (34 loc) · 869 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
{
"extends": [
"wikimedia/mediawiki",
"wikimedia/client/common",
"wikimedia/language/es2020",
"wikimedia/jquery"
],
"globals": {
"liquipedia": "readonly",
"_paq": "readonly",
"gtag": "readonly",
"Share": "readonly"
},
"rules": {
"space-before-function-paren": "off",
"no-jquery/no-global-selector": "off",
"vars-on-top": "off",
"one-var": "off",
"es/no-array-from": "off",
"mediawiki/class-doc": "off",
"mediawiki/no-nodelist-unsupported-methods": "off",
"es-x/no-block-scoped-variables": "off",
"es-x/no-string-prototype-startswith": "off",
"es-x/no-string-prototype-includes": "off",
"es-x/no-array-prototype-includes": "off",
"es-x/no-array-prototype-findindex": "off",
"es-x/no-spread-elements": "off",
"es-x/no-property-shorthands": "off",
"max-len": ["warn", { "code": 120 }]
},
"env": {
"jquery": true
}
}