-
Notifications
You must be signed in to change notification settings - Fork 1
/
.eslintrc.json
41 lines (41 loc) · 896 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
41
{
"root": true,
"env": {
"es6": true
},
"parserOptions": {
"sourceType": "module"
},
"extends": [
"wikimedia/client-es6",
"wikimedia/jquery",
"wikimedia/mediawiki"
],
"rules": {
"es-x/no-array-prototype-includes": "off",
"no-jquery/variable-pattern": "off",
"no-implicit-globals": "off",
"max-len": "off",
"max-statements-per-line": "off",
"no-restricted-syntax": "off",
"compat/compat": "off",
"no-alert": "off",
"no-new": "off"
},
"overrides": [
{
"files": "**/**/*.vue",
"extends": "wikimedia/vue-es6",
"rules": {
"vue/no-undef-properties": "warn",
"es-x/no-array-prototype-includes": "off",
"vue/component-name-in-template-casing": "warn",
"vue/multi-word-component-names": "warn",
"no-restricted-syntax": "off",
"max-statements-per-line": "off",
"max-len": "off",
"vue/no-boolean-default": "off"
}
}
]
}