This repository has been archived by the owner on Aug 13, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy path.eslintrc.json
73 lines (73 loc) · 1.64 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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
{
"env": {
"browser": true,
"commonjs": true,
"es6": true,
"node": true
},
"extends": [
"standard",
"eslint:recommended"
],
"globals": {
"Atomics": "readonly",
"SharedArrayBuffer": "readonly"
},
"parserOptions": {
"ecmaVersion": 2018
},
"rules": {
"func-call-spacing": 1,
"no-unexpected-multiline": 1,
"eqeqeq": 1,
"no-eval": 2,
"array-bracket-newline": 1,
"brace-style": 1,
"comma-spacing": 1,
"no-var": 1,
"indent": [
"warn",
4,
{
"SwitchCase": 1
}
],
"semi": [
1,
"always"
],
"quotes": [
2,
"single",
"avoid-escape"
],
"no-undef": 1,
"no-unused-vars": 1,
"prefer-const": 1,
"no-mixed-operators": 0,
"no-prototype-builtins": 0,
"curly": 0,
"prefer-arrow-callback": 1,
"prefer-template": 1,
"no-unreachable-loop": 1,
"no-unused-expressions": 1,
"no-useless-escape": 1,
"camelcase": 1,
"node/no-callback-literal": 1,
"no-return-assign": 1,
"eol-last": 1,
"arrow-body-style": [
"warn",
"as-needed"
],
"func-style": 1,
"prefer-arrow/prefer-arrow-functions": [
"warn",
{
"disallowPrototype": true,
"singleReturnOnly": true,
"classPropertiesAllowed": false
}
]
}
}