feat(vue): Rule "html-self-closing"
Signed-off-by: Valentin Popov <info@valentineus.link>
This commit is contained in:
parent
1776bfbec4
commit
9527acd2af
@ -541,7 +541,7 @@
|
||||
- [ ] "html-end-tags"
|
||||
- [X] "html-indent"
|
||||
- [X] "html-quotes"
|
||||
- [ ] "html-self-closing"
|
||||
- [X] "html-self-closing"
|
||||
- [ ] "jsx-uses-vars"
|
||||
- [ ] "key-spacing"
|
||||
- [ ] "keyword-spacing"
|
||||
|
@ -46,6 +46,18 @@
|
||||
"error",
|
||||
"double"
|
||||
],
|
||||
"vue/html-self-closing": [
|
||||
"error",
|
||||
{
|
||||
"html": {
|
||||
"component": "always",
|
||||
"normal": "always",
|
||||
"void": "always"
|
||||
},
|
||||
"math": "always",
|
||||
"svg": "always"
|
||||
}
|
||||
],
|
||||
"vue/script-indent": [
|
||||
"error",
|
||||
"tab",
|
||||
|
Loading…
x
Reference in New Issue
Block a user