-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc.json
55 lines (55 loc) · 1.74 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
49
50
51
52
53
54
55
{
"env": {
"es6": true,
"node": true
},
"extends": "eslint:recommended",
"rules": {
"comma-dangle": [2,"never"],
"max-len": [1, 110, 4],
"no-cond-assign": [1,"except-parens"],
"no-console": 0,
"no-constant-condition": 1,
"no-debugger": 2,
"no-dupe-args": 2,
"no-dupe-keys": 2,
"no-duplicate-case": 2,
"no-empty": 1,
"no-ex-assign": 1,
"no-extra-boolean-cast": 2,
"no-extra-parens": [2,"all"],
"no-extra-semi": 1,
"no-func-assign": 2,
"no-inner-declarations": [1,"both"],
"no-invalid-regexp": 2,
"no-irregular-whitespace": 1,
"no-negated-in-lhs": 2,
"no-obj-calls": 2,
"no-regex-spaces": 1,
"no-sparse-arrays": 2,
"no-unreachable": 2,
"use-isnan": 2,
"valid-typeof": 2,
"no-unexpected-multiline": 1,
"complexity": [1,10],
"default-case": 1,
"dot-notation": 1,
"eqeqeq": [1,"allow-null"],
"no-fallthrough": 1,
"no-lone-blocks": 1,
"no-octal": 2,
"no-redeclare": [2,{"builtinGlobals":true}],
"no-unused-vars": 1,
"array-bracket-spacing": [1,"always",{"singleValue":true,"objectsInArrays":false,"arraysInArrays":true}],
"brace-style": [1,"1tbs",{"allowSingleLine":true}],
"camelcase": [1,{"properties":"always"}],
"comma-spacing": [2,{"after":true}],
"comma-style": 1,
"eol-last": 2,
"indent": 2,
"linebreak-style": [2,"unix"],
"new-cap": [2,{"newIsCap":true,"capIsNew":false}],
"no-mixed-spaces-and-tabs": [1,"smart-tabs"],
"no-trailing-spaces": [1,{"skipBlankLines":false}]
}
}