forked from wikimedia/mediawiki-extensions-WikibaseLexeme
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.json
39 lines (39 loc) · 776 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
{
"extends": "wikimedia",
"env": {
"browser": true,
"jquery": true
},
"globals": {
"mediaWiki": false,
"module": false,
"OO": false,
"require": false,
"util": false,
"wikibase": false,
"Vue": false,
"Vuex": false,
"Promise": false,
"global": false,
"describe": false,
"it": false
},
"plugins": [
"promise"
],
"rules": {
"dot-notation": "off",
"indent": [ "error", "tab", { "CallExpression": { "arguments": "first" } } ],
"new-cap": "off",
"no-unused-vars": "off",
"no-underscore-dangle": "off",
"no-use-before-define": [ "error", "nofunc" ],
"one-var": "off",
"operator-linebreak": "off",
"promise/no-native": "error",
"spaced-comment": "off",
"valid-jsdoc": "off",
"vars-on-top": "off",
"wrap-iife": "off"
}
}