From 8516f9f974383eebd01bb0d7690abd8991faa56e Mon Sep 17 00:00:00 2001 From: Hooray <304327508@qq.com> Date: Sat, 25 Feb 2023 12:05:45 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4eslint=E8=A7=84=E5=88=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .eslintrc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.eslintrc b/.eslintrc index 0b360627..cff738ea 100644 --- a/.eslintrc +++ b/.eslintrc @@ -1,6 +1,9 @@ { "extends": "@antfu", "rules": { - "curly": ["error", "all"] + "curly": ["error", "all"], + "vue/component-tags-order": ["error", { + "order": ["route", "script", "template", "style"] + }] } }