feat(vue): Rule "max-attributes-per-line"
Signed-off-by: Valentin Popov <info@valentineus.link>
This commit is contained in:
parent
9527acd2af
commit
8bff0c29d3
@ -546,7 +546,7 @@
|
|||||||
- [ ] "key-spacing"
|
- [ ] "key-spacing"
|
||||||
- [ ] "keyword-spacing"
|
- [ ] "keyword-spacing"
|
||||||
- [ ] "match-component-file-name"
|
- [ ] "match-component-file-name"
|
||||||
- [ ] "max-attributes-per-line"
|
- [X] "max-attributes-per-line"
|
||||||
- [ ] "max-len"
|
- [ ] "max-len"
|
||||||
- [ ] "multiline-html-element-content-newline"
|
- [ ] "multiline-html-element-content-newline"
|
||||||
- [ ] "mustache-interpolation-spacing"
|
- [ ] "mustache-interpolation-spacing"
|
||||||
|
@ -58,6 +58,16 @@
|
|||||||
"svg": "always"
|
"svg": "always"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
"vue/max-attributes-per-line": [
|
||||||
|
"error",
|
||||||
|
{
|
||||||
|
"multiline": {
|
||||||
|
"allowFirstLine": false,
|
||||||
|
"max": 1
|
||||||
|
},
|
||||||
|
"singleline": 8
|
||||||
|
}
|
||||||
|
],
|
||||||
"vue/script-indent": [
|
"vue/script-indent": [
|
||||||
"error",
|
"error",
|
||||||
"tab",
|
"tab",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user