From d4538f42b14d0f7c824795945ffa556d585ceb06 Mon Sep 17 00:00:00 2001 From: Anthony Fu Date: Wed, 30 Mar 2022 04:20:16 +0800 Subject: [PATCH] feat: vue sfc tags order --- packages/vue/index.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/packages/vue/index.js b/packages/vue/index.js index 7a7a34d..b93fc9f 100644 --- a/packages/vue/index.js +++ b/packages/vue/index.js @@ -26,5 +26,9 @@ module.exports = { // reactivity transform 'vue/no-setup-props-destructure': 'off', + + 'vue/component-tags-order': ['error', { + order: ['script', 'template', 'style'], + }], }, }