diff options
-rw-r--r-- | ROADMAP.md | 2 | ||||
-rw-r--r-- | src/rules/vue/default.json | 10 |
2 files changed, 11 insertions, 1 deletions
@@ -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" diff --git a/src/rules/vue/default.json b/src/rules/vue/default.json index 7d8c19a..e7e45eb 100644 --- a/src/rules/vue/default.json +++ b/src/rules/vue/default.json @@ -1,4 +1,14 @@ { + "vue/html-indent": [ + "error", + "tab", + { + "alignAttributesVertically": true, + "attribute": 1, + "baseIndent": 1, + "closeBracket": 0 + } + ], "vue/script-indent": [ "error", "tab", |