Skip to content

Commit 7f7eab6

Browse files
Eslint config fixes
1 parent 472a0d9 commit 7f7eab6

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.eslintrc.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
"indent": [ "error", 4, { "SwitchCase": 1 } ],
4747
"key-spacing": [ "error", { "beforeColon": false, "afterColon": true }],
4848
"linebreak-style": [ "off" ],
49-
"lines-around-comment": [ "error", { "beforeBlockComment": true, "afterBlockComment": false, "beforeLineComment": true, "afterLineComment": false, "allowBlockStart": true, "allowBlockEnd": false, "allowObjectStart": true, "allowArrayStart": true, "allowBlockEnd": true }],
49+
"lines-around-comment": [ "error", { "beforeBlockComment": true, "afterBlockComment": false, "beforeLineComment": true, "afterLineComment": false, "allowBlockStart": true, "allowBlockEnd": false, "allowObjectStart": true, "allowArrayStart": true }],
5050
"new-parens": "error",
5151
"no-array-constructor": "error",
5252
"no-lonely-if": "error",
@@ -66,7 +66,7 @@
6666
"space-in-parens": [ "error", "never" ],
6767
"space-infix-ops": [ "error", { "int32Hint": true } ],
6868
"wrap-regex": "error",
69-
"spaced-comment": [ "error", "always", { "block": { "balanced": true }} ]
69+
"spaced-comment": [ "error", "always", { "block": { "balanced": true, "exceptions": ["*", "!"] }} ]
7070

7171
}
72-
}
72+
}

0 commit comments

Comments
 (0)