-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.eslintrc
More file actions
43 lines (43 loc) · 730 Bytes
/
.eslintrc
File metadata and controls
43 lines (43 loc) · 730 Bytes
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
{
"parser": "babel-eslint",
"env": {
"es6": true,
"node": true,
},
"globals": {},
"parserOptions": {
"ecmaVersion": 6,
"ecmaFeatures": {
"experimentalObjectRestSpread": true,
"jsx": true,
"arrowFunctions": true,
"classes": true,
},
"sourceType": "module"
},
"plugins": [],
"rules": {
"indent": [
"error",
"tab"
],
"curly": 0,
"no-tabs": 0,
"no-var": 1,
"no-eval": 2,
"no-alert": 1,
"no-undef": 2,
"no-empty": 2,
"no-debugger": 2,
"no-undefined": 2,
"no-unused-vars": 2,
"no-const-assign": 2,
"no-mixed-spaces-and-tabs": 2,
"no-console": [2, {
"allow": ["warn", "error", "info"],
}, ],
"one-var": 0,
"quotes": [2, "single"],
"semi": [2, "never"],
}
}