feat(vue): Rule "html-indent"

Signed-off-by: Valentin Popov <info@valentineus.link>
This commit is contained in:
Valentin Popov 2020-02-14 13:17:35 +04:00
parent 22795371c9
commit 37337f9e02
Signed by: Valentin Popov
GPG Key ID: 269A00ACA90A8EA3
2 changed files with 11 additions and 1 deletions

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"

View File

@ -1,4 +1,14 @@
{
"vue/html-indent": [
"error",
"tab",
{
"alignAttributesVertically": true,
"attribute": 1,
"baseIndent": 1,
"closeBracket": 0
}
],
"vue/script-indent": [
"error",
"tab",