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"
|
- [ ] "html-end-tags"
|
||||||
- [X] "html-indent"
|
- [X] "html-indent"
|
||||||
- [X] "html-quotes"
|
- [X] "html-quotes"
|
||||||
- [ ] "html-self-closing"
|
- [X] "html-self-closing"
|
||||||
- [ ] "jsx-uses-vars"
|
- [ ] "jsx-uses-vars"
|
||||||
- [ ] "key-spacing"
|
- [ ] "key-spacing"
|
||||||
- [ ] "keyword-spacing"
|
- [ ] "keyword-spacing"
|
||||||
|
@ -46,6 +46,18 @@
|
|||||||
"error",
|
"error",
|
||||||
"double"
|
"double"
|
||||||
],
|
],
|
||||||
|
"vue/html-self-closing": [
|
||||||
|
"error",
|
||||||
|
{
|
||||||
|
"html": {
|
||||||
|
"component": "always",
|
||||||
|
"normal": "always",
|
||||||
|
"void": "always"
|
||||||
|
},
|
||||||
|
"math": "always",
|
||||||
|
"svg": "always"
|
||||||
|
}
|
||||||
|
],
|
||||||
"vue/script-indent": [
|
"vue/script-indent": [
|
||||||
"error",
|
"error",
|
||||||
"tab",
|
"tab",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user