-
Notifications
You must be signed in to change notification settings - Fork 104
/
.eslintrc.json
48 lines (48 loc) · 1.26 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
{
"parser": "babel-eslint",
"parserOptions": {
"ecmaVersion": 6,
"sourceType": "script",
"ecmaFeatures": {
"impliedStrict": true
}
},
"env": {
"browser": true,
"node": true
},
"rules": {
"semi": 1,
"no-dupe-args": 1,
"no-dupe-keys": 1,
"no-unreachable": 1,
"valid-typeof": 1,
"curly": 1,
"no-useless-call": 1,
"brace-style": [1, "stroustrup"],
"linebreak-style": [1, "unix"],
"no-lonely-if": 1,
"no-mixed-spaces-and-tabs": [1, "smart-tabs"],
"no-trailing-spaces": 1,
"one-var": [1, {
"initialized": "never"
}],
"padding-line-between-statements": [1,
{
"blankLine": "always",
"prev": "*",
"next": "block-like"
}, {
"blankLine": "any",
"prev": ["const", "let", "var"],
"next": ["const", "let", "var"]
}
],
"quotes": [1, "double", "avoid-escape"],
"spaced-comment": [1, "always"],
"space-before-blocks": [1, "always"],
"arrow-spacing": 1,
"comma-spacing": 1,
"keyword-spacing": 1
}
}