feat(vue): Rule "html-self-closing"

Signed-off-by: Valentin Popov <info@valentineus.link>
This commit is contained in:
2020-02-14 13:36:04 +04:00
parent 1776bfbec4
commit 9527acd2af
2 changed files with 13 additions and 1 deletions

View File

@ -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",