diff options
-rw-r--r-- | ROADMAP.md | 2 | ||||
-rw-r--r-- | src/rules/javascript/default.json | 7 |
2 files changed, 8 insertions, 1 deletions
@@ -192,7 +192,7 @@ - [X] "no-ternary" - [ ] "no-this-before-super" - [ ] "no-throw-literal" -- [ ] "no-trailing-spaces" +- [X] "no-trailing-spaces" - [ ] "no-undef" - [X] "no-undef-init" - [X] "no-undefined" diff --git a/src/rules/javascript/default.json b/src/rules/javascript/default.json index ac2fccd..231730c 100644 --- a/src/rules/javascript/default.json +++ b/src/rules/javascript/default.json @@ -375,6 +375,13 @@ "no-ternary": [ "off" ], + "no-trailing-spaces": [ + "error", + { + "ignoreComments": false, + "skipBlankLines": false + } + ], "no-undef-init": [ "error" ], |