feat(vue): sort-keys
Signed-off-by: Valentin Popov <info@valentineus.link>
This commit is contained in:
parent
b4225e3424
commit
1f204d1b8d
@ -593,6 +593,7 @@
|
|||||||
- [ ] "return-in-computed-property"
|
- [ ] "return-in-computed-property"
|
||||||
- [X] "script-indent"
|
- [X] "script-indent"
|
||||||
- [ ] "singleline-html-element-content-newline"
|
- [ ] "singleline-html-element-content-newline"
|
||||||
|
- [X] "sort-keys"
|
||||||
- [X] "space-infix-ops"
|
- [X] "space-infix-ops"
|
||||||
- [ ] "space-unary-ops"
|
- [ ] "space-unary-ops"
|
||||||
- [ ] "static-class-names-order"
|
- [ ] "static-class-names-order"
|
||||||
|
@ -91,6 +91,40 @@
|
|||||||
"switchCase": 1
|
"switchCase": 1
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
"vue/sort-keys": [
|
||||||
|
"warn",
|
||||||
|
"asc",
|
||||||
|
{
|
||||||
|
"caseSensitive": true,
|
||||||
|
"ignoreChildrenOf": [
|
||||||
|
"model"
|
||||||
|
],
|
||||||
|
"ignoreGrandchildrenOf": [
|
||||||
|
"activated",
|
||||||
|
"beforeCreate",
|
||||||
|
"beforeDestroy",
|
||||||
|
"beforeMount",
|
||||||
|
"beforeUpdate",
|
||||||
|
"components",
|
||||||
|
"computed",
|
||||||
|
"created",
|
||||||
|
"data",
|
||||||
|
"deactivated",
|
||||||
|
"destroyed",
|
||||||
|
"directives",
|
||||||
|
"errorCaptured",
|
||||||
|
"filters",
|
||||||
|
"methods",
|
||||||
|
"mounted",
|
||||||
|
"name",
|
||||||
|
"props",
|
||||||
|
"updated",
|
||||||
|
"watch"
|
||||||
|
],
|
||||||
|
"minKeys": 2,
|
||||||
|
"natural": true
|
||||||
|
}
|
||||||
|
],
|
||||||
"vue/space-infix-ops": [
|
"vue/space-infix-ops": [
|
||||||
"error",
|
"error",
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user