feat(vue): Rule "attributes-order"
Signed-off-by: Valentin Popov <info@valentineus.link>
This commit is contained in:
parent
dd99326c52
commit
17eb381c5b
@ -525,7 +525,7 @@
|
|||||||
- [ ] "array-bracket-spacing"
|
- [ ] "array-bracket-spacing"
|
||||||
- [ ] "arrow-spacing"
|
- [ ] "arrow-spacing"
|
||||||
- [ ] "attribute-hyphenation"
|
- [ ] "attribute-hyphenation"
|
||||||
- [ ] "attributes-order"
|
- [X] "attributes-order"
|
||||||
- [ ] "block-spacing"
|
- [ ] "block-spacing"
|
||||||
- [ ] "brace-style"
|
- [ ] "brace-style"
|
||||||
- [ ] "camelcase"
|
- [ ] "camelcase"
|
||||||
|
@ -1,4 +1,22 @@
|
|||||||
{
|
{
|
||||||
|
"vue/attributes-order": [
|
||||||
|
"error",
|
||||||
|
{
|
||||||
|
"order": [
|
||||||
|
"DEFINITION",
|
||||||
|
"LIST_RENDERING",
|
||||||
|
"CONDITIONALS",
|
||||||
|
"RENDER_MODIFIERS",
|
||||||
|
"GLOBAL",
|
||||||
|
"UNIQUE",
|
||||||
|
"TWO_WAY_BINDING",
|
||||||
|
"OTHER_DIRECTIVES",
|
||||||
|
"OTHER_ATTR",
|
||||||
|
"EVENTS",
|
||||||
|
"CONTENT"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
],
|
||||||
"vue/html-indent": [
|
"vue/html-indent": [
|
||||||
"error",
|
"error",
|
||||||
"tab",
|
"tab",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user