Skip to content

Commit 23d3188

Browse files
committed
update eslintrc
1 parent 9a9395f commit 23d3188

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.eslintrc

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,28 +7,28 @@
77
"commonjs": true
88
},
99
"rules": {
10-
"no-trailing-spaces": [0],
10+
"no-trailing-spaces": [2],
1111
"no-multiple-empty-lines": [2, {"max": 3, "maxEOF": 1}],
1212
"linebreak-style": [2, "unix"],
13-
"indent": [0, 4],
13+
"indent": [2, 4, {"SwitchCase": 1}],
1414
"max-len": [0, 80],
15-
"brace-style": [0, "stroustrup", { "allowSingleLine": true }],
15+
"brace-style": [0, "stroustrup", {"allowSingleLine": true}],
1616
"curly": [0, "multi"],
1717
"camelcase": [0, {"properties": "never"}],
1818
"comma-spacing": [0, {"before": false, "after": true}],
19-
"comma-style": [0, "last"],
19+
"comma-style": [2, "last"],
2020
"semi": [2],
2121
"semi-spacing": [2, {"before": false, "after": true}],
2222
"key-spacing": [0, {"beforeColon": false, "afterColon": true}],
2323
"no-spaced-func": [2],
2424
"space-in-parens": [2, "never"],
2525
"space-before-function-paren": [0, "never"],
26-
"no-multi-spaces": [0],
26+
"no-multi-spaces": [2],
2727
"space-infix-ops": [0, {"int32Hint": false}],
2828
"quotes": [2, "single"],
2929
"dot-notation": [2, {"allowKeywords": false}],
3030
"eqeqeq": [2],
31-
"new-cap": [2],
31+
"new-cap": [0],
3232
"no-redeclare": [2, {"builtinGlobals": true}],
3333
"no-shadow": [0, {"builtinGlobals": true}],
3434
"block-scoped-var": [2],

0 commit comments

Comments
 (0)