diff options
author | Valentin Popov <info@valentineus.link> | 2020-02-14 12:28:07 +0300 |
---|---|---|
committer | Valentin Popov <info@valentineus.link> | 2020-02-14 12:28:07 +0300 |
commit | 7f0f6a0d5c429781ed4d70502cc033bedc33abaa (patch) | |
tree | fd0ff29de4c21c2a0f4fdfe20d61f1d6c14e04bc | |
parent | 17eb381c5b22c57e5432f5c18c0dad7cf7ea278a (diff) | |
download | eslint-config-7f0f6a0d5c429781ed4d70502cc033bedc33abaa.tar.xz eslint-config-7f0f6a0d5c429781ed4d70502cc033bedc33abaa.zip |
feat(vue): Rule "html-closing-bracket-newline"
Signed-off-by: Valentin Popov <info@valentineus.link>
-rw-r--r-- | ROADMAP.md | 2 | ||||
-rw-r--r-- | src/rules/vue/default.json | 7 |
2 files changed, 8 insertions, 1 deletions
@@ -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", |