Skip to content

Commit d6cc38f

Browse files
committed
space rules for lint
1 parent 75614a5 commit d6cc38f

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.eslintrc

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"root": true,
33
"extends": [
4-
"eslint:recommended",
4+
"eslint:recommended"
55
],
66
"env": {
77
"commonjs": true
@@ -16,7 +16,7 @@
1616
"brace-style": [0, "stroustrup", {"allowSingleLine": true}],
1717
"curly": [0, "multi"],
1818
"camelcase": [0, {"properties": "never"}],
19-
"comma-spacing": [0, {"before": false, "after": true}],
19+
"comma-spacing": [2, {"before": false, "after": true}],
2020
"comma-style": [2, "last"],
2121
"semi": [2],
2222
"semi-spacing": [2, {"before": false, "after": true}],
@@ -36,7 +36,7 @@
3636
"no-whitespace-before-property": [2],
3737
"no-unexpected-multiline": [2],
3838
"no-floating-decimal": [2],
39-
"space-infix-ops": [0, {"int32Hint": false}],
39+
"space-infix-ops": [2, {"int32Hint": true}],
4040
"quotes": [2, "single"],
4141
"dot-notation": [2],
4242
"operator-linebreak": [2, "after"],
@@ -50,5 +50,5 @@
5050
"no-loop-func": [2],
5151
"no-console": [0],
5252
"no-unused-labels": [2]
53-
},
53+
}
5454
}

0 commit comments

Comments
 (0)