aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorValentin Popov <info@valentineus.link>2020-04-01 13:51:51 +0300
committerValentin Popov <info@valentineus.link>2020-04-01 13:51:51 +0300
commitfd0218c01eee01ce937c505df11d860504258ffc (patch)
tree90d5bdd1c195aa37a0d620c857130eae7d714e10
parenta3a2934e43d09e81635e2cf7495f8488f7841f44 (diff)
downloadeslint-config-fd0218c01eee01ce937c505df11d860504258ffc.tar.xz
eslint-config-fd0218c01eee01ce937c505df11d860504258ffc.zip
feat(vue): no-multi-spaces
Signed-off-by: Valentin Popov <info@valentineus.link>
-rw-r--r--ROADMAP.md2
-rw-r--r--src/rules/vue/default.json6
2 files changed, 7 insertions, 1 deletions
diff --git a/ROADMAP.md b/ROADMAP.md
index 89a27b1..d16e2bb 100644
--- a/ROADMAP.md
+++ b/ROADMAP.md
@@ -568,7 +568,7 @@
- [ ] "no-duplicate-attributes"
- [ ] "no-empty-pattern"
- [ ] "no-irregular-whitespace"
-- [ ] "no-multi-spaces"
+- [X] "no-multi-spaces"
- [ ] "no-parsing-error"
- [ ] "no-reserved-component-names"
- [ ] "no-reserved-keys"
diff --git a/src/rules/vue/default.json b/src/rules/vue/default.json
index 376b47c..145c8f2 100644
--- a/src/rules/vue/default.json
+++ b/src/rules/vue/default.json
@@ -76,6 +76,12 @@
"singleline": 8
}
],
+ "vue/no-multi-spaces": [
+ "error",
+ {
+ "ignoreProperties": false
+ }
+ ],
"vue/no-unused-vars": [
"error"
],