mirror of
https://github.com/WilliamsNY/linter-configs.git
synced 2024-12-22 09:40:24 -05:00
Specify the setup hook in the vue order
This commit is contained in:
parent
2b36ebab5d
commit
6e474cf0e9
1 changed files with 1 additions and 1 deletions
2
eslintrc
2
eslintrc
|
@ -151,7 +151,7 @@
|
|||
"vue/attributes-order": [ "warn" ],
|
||||
"vue/html-quotes": [ "warn" ],
|
||||
"vue/no-v-html": "off",
|
||||
"vue/order-in-components": [ "warn", { "order": [ "el", "name", "parent", "functional", [ "delimiters", "comments" ], [ "mixins", "extends" ], [ "components", "directives", "filters" ], "inheritAttrs", "model", [ "props", "propsData" ], "emits", "data", "computed", "methods", "beforeCreate", "created", "beforeMount", "mounted", "beforeUpdate", "updated", "activated", "deactivated", "watch", "beforeDestroy", "destroyed", [ "template", "render" ], "renderError" ] } ],
|
||||
"vue/order-in-components": [ "warn", { "order": [ "el", "name", "parent", "functional", [ "delimiters", "comments" ], [ "mixins", "extends" ], [ "components", "directives", "filters" ], "inheritAttrs", "model", [ "props", "propsData" ], "setup", "emits", "data", "computed", "methods", "beforeCreate", "created", "beforeMount", "mounted", "beforeUpdate", "updated", "activated", "deactivated", "watch", "beforeDestroy", "destroyed", [ "template", "render" ], "renderError" ] } ],
|
||||
"vue/this-in-template": [ "warn" ]
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue