From 61ad332877c32b7dad11bef30083c31baa374d9b Mon Sep 17 00:00:00 2001 From: haoxr <1490493387@qq.com> Date: Tue, 16 May 2023 01:04:07 +0800 Subject: [PATCH] =?UTF-8?q?chore(.eslintrc.cjs):=20:hammer:=20=E6=A0=B9?= =?UTF-8?q?=E6=8D=AE=E5=AE=98=E6=96=B9=E6=96=87=E6=A1=A3=E9=85=8D=E7=BD=AE?= =?UTF-8?q?=E8=A7=A3=E5=86=B3=20`eslint`=20=E5=92=8C=20`prettier`=20?= =?UTF-8?q?=E7=9A=84=E5=86=B2=E7=AA=81=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Former-commit-id: e818c395b7c19bc98dd993ca6c6068f1d4974f42 --- .eslintrc.cjs | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/.eslintrc.cjs b/.eslintrc.cjs index bc9bf2c..e4abf99 100644 --- a/.eslintrc.cjs +++ b/.eslintrc.cjs @@ -5,12 +5,11 @@ module.exports = { node: true, }, parser: "vue-eslint-parser", - // https://eslint.vuejs.org/user-guide/#bundle-configurations extends: [ - "eslint:recommended", - "plugin:vue/vue3-essential", - "plugin:@typescript-eslint/recommended", + // 参考vuejs官方的eslint配置: https://eslint.vuejs.org/user-guide/#usage + "plugin:vue/vue3-recommended", "./.eslintrc-auto-import.json", + "prettier", ], parserOptions: { ecmaVersion: "latest", @@ -29,6 +28,5 @@ module.exports = { globals: { DialogOption: "readonly", OptionType: "readonly", - defineOptions: "readonly", }, }; -- GitLab