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