feat(vue): Rule "html-indent"

Signed-off-by: Valentin Popov <info@valentineus.link>
This commit is contained in:
Valentin Popov committed 2020-02-14 13:17:35 +04:00
1 parent 22795371c9
commit 37337f9e02
2 files changed
+11 -1

No files matched your search

+1 -1
View File
@@ -539,7 +539,7 @@
- [ ] "html-closing-bracket-newline"
- [ ] "html-closing-bracket-spacing"
- [ ] "html-end-tags"
- [ ] "html-indent"
- [X] "html-indent"
- [ ] "html-quotes"
- [ ] "html-self-closing"
- [ ] "jsx-uses-vars"
+10
View File
@@ -1,4 +1,14 @@
{
"vue/html-indent": [
"error",
"tab",
{
"alignAttributesVertically": true,
"attribute": 1,
"baseIndent": 1,
"closeBracket": 0
}
],
"vue/script-indent": [
"error",
"tab",