feat(vue): Rule "script-indent"

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

View File

@ -591,7 +591,7 @@
- [ ] "require-v-for-key" - [ ] "require-v-for-key"
- [ ] "require-valid-default-prop" - [ ] "require-valid-default-prop"
- [ ] "return-in-computed-property" - [ ] "return-in-computed-property"
- [ ] "script-indent" - [X] "script-indent"
- [ ] "singleline-html-element-content-newline" - [ ] "singleline-html-element-content-newline"
- [ ] "space-infix-ops" - [ ] "space-infix-ops"
- [ ] "space-unary-ops" - [ ] "space-unary-ops"

View File

@ -1 +1,10 @@
{} {
"vue/script-indent": [
"error",
"tab",
{
"baseIndent": 0,
"switchCase": 1
}
]
}