From 7f0f6a0d5c429781ed4d70502cc033bedc33abaa Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Fri, 14 Feb 2020 13:28:07 +0400 Subject: feat(vue): Rule "html-closing-bracket-newline" Signed-off-by: Valentin Popov --- ROADMAP.md | 2 +- src/rules/vue/default.json | 7 +++++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/ROADMAP.md b/ROADMAP.md index fe630c0..9985299 100644 --- a/ROADMAP.md +++ b/ROADMAP.md @@ -536,7 +536,7 @@ - [ ] "component-tags-order" - [ ] "dot-location" - [ ] "eqeqeq" -- [ ] "html-closing-bracket-newline" +- [X] "html-closing-bracket-newline" - [ ] "html-closing-bracket-spacing" - [ ] "html-end-tags" - [X] "html-indent" diff --git a/src/rules/vue/default.json b/src/rules/vue/default.json index ed9154e..e15ac29 100644 --- a/src/rules/vue/default.json +++ b/src/rules/vue/default.json @@ -17,6 +17,13 @@ ] } ], + "vue/html-closing-bracket-newline": [ + "error", + { + "multiline": "always", + "singleline": "never" + } + ], "vue/html-indent": [ "error", "tab", -- cgit v1.2.3