From fd0218c01eee01ce937c505df11d860504258ffc Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Wed, 1 Apr 2020 14:51:51 +0400 Subject: feat(vue): no-multi-spaces Signed-off-by: Valentin Popov --- ROADMAP.md | 2 +- src/rules/vue/default.json | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) 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" ], -- cgit v1.2.3