Skip to content

Commit 4bfe85e

Browse files
committed
added more eslint style checks
1 parent 139876f commit 4bfe85e

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.eslintrc.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,14 @@
1010
},
1111
"rules": {
1212
"no-console":0,
13+
"space-infix-ops": "error",
14+
"eol-last": ["error", "always"],
15+
"prefer-arrow-callback": "error",
16+
"padded-blocks": ["error", "never"],
17+
"space-before-blocks": "error",
18+
"arrow-spacing": "error",
19+
"space-in-parens": ["error", "never"],
20+
"keyword-spacing": ["error", { "before": true }],
1321
"spaced-comment": ["error", "always", { "exceptions": ["-", "+"] }],
1422
"indent": [
1523
"error",

0 commit comments

Comments
 (0)