-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy path.eslintrc
59 lines (59 loc) · 1.47 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
48
49
50
51
52
53
54
55
56
57
58
59
{
"parser": "babel-eslint",
"env": {
"browser": true,
"node": true,
"es6": true
},
"ecmaFeatures": {
"modules": true,
},
"rules": {
"comma-dangle": [2, "always-multiline"],
"no-cond-assign": 2,
"no-extra-semi": 2,
"no-constant-condition": 1,
"no-console": 1,
"no-dupe-args": 2,
"no-dupe-keys": 2,
"no-duplicate-case": 2,
"no-empty": 2,
"no-func-assign": 2,
"no-irregular-whitespace": 2,
"no-sparse-arrays": 2,
"curly": [1, "multi-line"],
"dot-location": [2, "property"],
"eqeqeq": [2, "smart"],
"no-eval": 2,
"no-extend-native": 2,
"no-fallthrough": 1,
"no-invalid-this": 2,
"no-labels": 1,
"no-lone-blocks": 2,
"no-undef": 2,
"no-undefined": 2,
"no-unused-vars": 2,
"no-use-before-define": 2,
"array-bracket-spacing": [2, "never"],
"brace-style": [2, "stroustrup"],
"no-multiple-empty-lines": [2, {"max": 1}],
"no-trailing-spaces": 2,
"no-underscore-dangle": 2,
"no-unneeded-ternary": 1,
"no-mixed-spaces-and-tabs": 2,
"comma-spacing": [2, {"before": false, "after": true}],
"block-spacing": 2,
"semi": [2, "always"],
"object-curly-spacing": [2, "always"],
"arrow-parens": [2, "always"],
"arrow-spacing": 2,
"no-const-assign": 2,
"no-dupe-class-members": 2,
"no-var": 2,
"object-shorthand": 2,
"prefer-arrow-callback": 2,
"prefer-const": 2,
"prefer-spread": 2,
"prefer-template": 2
}
}