forked from Varanida/varanida-extension
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc
47 lines (47 loc) · 1.02 KB
/
.eslintrc
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
46
47
{
"parserOptions": {
"ecmaVersion": 7,
"sourceType": "module"
},
"env": {
"browser": true
},
"globals": {
},
"rules": {
"no-console": [1, {"allow": ["warn", "error", "info"]}],
"array-callback-return": 2,
"curly": 2,
"dot-location": [1, "property"],
"dot-notation": 1,
"eqeqeq": 1,
"no-empty-function": 1,
"no-eval": 2,
"no-loop-func": 2,
"no-param-reassign": 1,
"no-use-before-define": 1,
"array-bracket-spacing": 0,
"block-spacing": 0,
"brace-style": 0,
"camelcase": 1,
"comma-dangle": 0,
"eol-last": 2,
"indent": 0,
"key-spacing": 0,
"keyword-spacing": [1, {
"before": true,
"after": true
}],
"linebreak-style": [2, "unix"],
"max-nested-callbacks": [2, 6],
"no-trailing-spaces": 1,
"quotes": 0,
"operator-linebreak": 0,
"padded-blocks": 0,
"semi": [1, "always"],
"no-confusing-arrow": [1, {"allowParens": true}],
"no-var": 0,
"prefer-template": 0,
"max-len": [1, 140]
}
}