Simplify the "spaced-comment" ESLint rule

With the Firefox addon removed from the GitHub repository, there's no longer any JavaScript code utilizing the old preprocessor.
This commit is contained in:
Jonas Jenwald 2018-09-09 11:58:32 +02:00
parent 510f1c84d2
commit 6481fc0de5

View File

@ -167,10 +167,6 @@
"space-infix-ops": ["error", { "int32Hint": false }], "space-infix-ops": ["error", { "int32Hint": false }],
"space-unary-ops": ["error", { "words": true, "nonwords": false, }], "space-unary-ops": ["error", { "words": true, "nonwords": false, }],
"spaced-comment": ["error", "always", { "spaced-comment": ["error", "always", {
"line": {
"exceptions": ["//", "#else", "#endif"],
"markers": ["#if", "#elif", "#include", "#expand", "#error"],
},
"block": { "block": {
"balanced": true, "balanced": true,
} }