From 1776bfbec4017f328937b16a7ea752adbec45bea Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Fri, 14 Feb 2020 13:32:30 +0400 Subject: feat(vue): Rule "html-closing-bracket-spacing" Signed-off-by: Valentin Popov --- ROADMAP.md | 2 +- src/rules/vue/default.json | 8 ++++++++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/ROADMAP.md b/ROADMAP.md index 9985299..9e60f6a 100644 --- a/ROADMAP.md +++ b/ROADMAP.md @@ -537,7 +537,7 @@ - [ ] "dot-location" - [ ] "eqeqeq" - [X] "html-closing-bracket-newline" -- [ ] "html-closing-bracket-spacing" +- [X] "html-closing-bracket-spacing" - [ ] "html-end-tags" - [X] "html-indent" - [X] "html-quotes" diff --git a/src/rules/vue/default.json b/src/rules/vue/default.json index e15ac29..07aaf6a 100644 --- a/src/rules/vue/default.json +++ b/src/rules/vue/default.json @@ -24,6 +24,14 @@ "singleline": "never" } ], + "vue/html-closing-bracket-spacing": [ + "error", + { + "endTag": "never", + "selfClosingTag": "always", + "startTag": "never" + } + ], "vue/html-indent": [ "error", "tab", -- cgit v1.2.3