aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorValentin Popov <info@valentineus.link>2020-02-14 20:00:55 +0300
committerValentin Popov <info@valentineus.link>2020-02-14 20:00:55 +0300
commit0419c2558d380cd13f6d0c1f3944b8474b4cf87c (patch)
tree0af8551cc4acedc66ce9a787873ea27bf3beeb44 /src
parentb00af86b1bf8e8ca929108916913f807734263e2 (diff)
downloadeslint-config-0419c2558d380cd13f6d0c1f3944b8474b4cf87c.tar.xz
eslint-config-0419c2558d380cd13f6d0c1f3944b8474b4cf87c.zip
feat(eslint): no-trailing-spaces
Signed-off-by: Valentin Popov <info@valentineus.link>
Diffstat (limited to 'src')
-rw-r--r--src/rules/javascript/default.json7
1 files changed, 7 insertions, 0 deletions
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"
],