Merge pull request #10053 from Snuffleupagus/spaced-comment

Simplify the "spaced-comment" ESLint rule
This commit is contained in:
Tim van der Meij 2018-09-09 16:09:54 +02:00 committed by GitHub
commit c751757470
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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,
} }