forked from React-Snake/React-Snake
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.json
51 lines (51 loc) · 964 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
42
43
44
45
46
47
48
49
50
51
{
"env": {
"browser": true,
"commonjs": true
},
"plugins": [
"import"
],
"parserOptions": {
"ecmaVersion": 8,
"sourceType": "module",
"ecmaFeatures": {
"jsx": true,
"experimentalObjectRestSpread": true
}
},
"consistent-return": 0,
"rules": {
"arrow-spacing": 1,
"keyword-spacing": 1,
"space-before-blocks": 1,
"no-param-reassign": 0,
"max-len": 0,
"no-plusplus": 0,
"linebreak-style": 0,
"consistent-return": 1,
"no-useless-return": 1,
"no-return-assign": 1,
"comma-dangle": 1,
"arrow-body-style": 0,
"no-unused-vars": 0,
"no-useless-constructor": 1,
"no-extend-native": 1,
"import/no-unresolved": 0,
"no-restricted-properties": 1,
"no-console": 0,
"import/no-duplicates": 1,
"indent": [
"error",
2
],
"quotes": [
"error",
"single"
],
"semi": [
"error",
"always"
]
}
}