-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.eslintrc.json
45 lines (45 loc) · 1.15 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
{
"extends": [
"wikimedia/client/es6",
"wikimedia/jquery",
"wikimedia/mediawiki"
],
"env": {
"jest": true
},
"globals": {
"mw": "readonly"
},
"parserOptions": {
"ecmaVersion": "latest",
"sourceType": "module"
},
"rules": {
"camelcase": "off",
"es-x/no-array-prototype-includes": "off",
"es-x/no-async-functions": "off",
"es-x/no-class-fields": "off",
"es-x/no-optional-catch-binding": "off",
"es-x/no-regexp-lookbehind-assertions": "off",
"es-x/no-regexp-s-flag": "off",
"es-x/no-rest-spread-properties": "off",
"es-x/no-string-prototype-matchall": "off",
"es-x/no-string-prototype-replaceall": "off",
"eqeqeq": "warn",
"jsdoc/require-param": "off",
"jsdoc/require-param-type": "off",
"jsdoc/require-returns": "off",
"jsdoc/check-alignment": "error",
"jsdoc/tag-lines": "error",
"max-len": "off",
"mediawiki/class-doc": "off",
"no-console": "warn",
"no-jquery/no-class-state": "off",
"no-jquery/no-global-selector": "off",
"no-jquery/no-parse-html-literal": "off",
"no-shadow": "off",
"no-underscore-dangle": "off",
"security/detect-non-literal-regexp": "off",
"security/detect-unsafe-regex": "off"
}
}