-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
55 lines (55 loc) · 1.29 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
{
"parserOptions": {
"ecmaVersion": 2017,
"sourceType": "script",
"ecmaFeatures": {}
},
"rules": {
"comma-dangle": [1,"always-multiline"],
"no-cond-assign": [2,"always"],
"no-constant-condition": 2,
"no-dupe-args": 2,
"no-dupe-keys": 2,
"no-duplicate-case": 2,
"no-empty": 2,
"no-ex-assign": 2,
"no-extra-boolean-cast": 2,
"no-extra-parens": [2,"all"],
"no-extra-semi": 2,
"no-func-assign": 2,
"no-invalid-regexp": 2,
"no-irregular-whitespace": 2,
"no-sparse-arrays": 2,
"no-unreachable": 1,
"use-isnan": 2,
"valid-typeof": 2,
"no-unexpected-multiline": 2,
"curly": [2,"all"],
"eqeqeq": [2,"smart"],
"no-unused-expressions": 2,
"yoda": [2,"never",{}],
"no-unused-vars": 2,
"brace-style": [2,"1tbs",{"allowSingleLine":false}],
"camelcase": [2,{"properties":"always"}],
"indent": [2, "tab", {"SwitchCase": 1}],
"max-nested-callbacks": [2,10],
"no-mixed-spaces-and-tabs": [2,"smart-tabs"],
"no-spaced-func": 2,
"no-trailing-spaces": [2,{"skipBlankLines":true}],
"no-unneeded-ternary": 2,
"arrow-spacing": [2,{"before":true,"after":true}],
"no-const-assign": 2,
"no-this-before-super": 2,
"no-var": 2,
"prefer-spread": 2
},
"overrides": [
{
"files": [ "src/" ],
"excludedFiles": [ "node_modules/*" ]
}
],
"env": {
"node": true
}
}