diff --git a/ROADMAP.md b/ROADMAP.md index 170ad4f..d9ba56b 100644 --- a/ROADMAP.md +++ b/ROADMAP.md @@ -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",