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"
|
||||
- [ ] "arrow-spacing"
|
||||
- [ ] "attribute-hyphenation"
|
||||
- [ ] "attributes-order"
|
||||
- [X] "attributes-order"
|
||||
- [ ] "block-spacing"
|
||||
- [ ] "brace-style"
|
||||
- [ ] "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": [
|
||||
"error",
|
||||
"tab",
|
||||
|
Loading…
x
Reference in New Issue
Block a user