aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorValentin Popov <info@valentineus.link>2020-02-14 12:32:30 +0300
committerValentin Popov <info@valentineus.link>2020-02-14 12:32:30 +0300
commit1776bfbec4017f328937b16a7ea752adbec45bea (patch)
tree35c0dd789f85f4ed704163025292565788ed6b6b
parent7f0f6a0d5c429781ed4d70502cc033bedc33abaa (diff)
downloadeslint-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.md2
-rw-r--r--src/rules/vue/default.json8
2 files changed, 9 insertions, 1 deletions
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",