From 6e474cf0e9726a77a111d4d1f96c8846b7e57746 Mon Sep 17 00:00:00 2001 From: Kevin MacMartin Date: Wed, 22 Jun 2022 13:27:21 -0400 Subject: [PATCH] Specify the setup hook in the vue order --- eslintrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eslintrc b/eslintrc index f16be32..8b3dd54 100644 --- a/eslintrc +++ b/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" ] } }