From 508275403a708861028ce401b2afb2545d996792 Mon Sep 17 00:00:00 2001 From: Seven Date: Thu, 11 Dec 2025 03:43:46 +0700 Subject: [PATCH] =?UTF-8?q?chore:=20=E4=BC=98=E5=8C=96=20ESLint=20?= =?UTF-8?q?=E8=A7=84=E5=88=99=EF=BC=8C=E8=B0=83=E6=95=B4=20no-console=20?= =?UTF-8?q?=E5=92=8C=20no-debugger=20=E7=9A=84=E4=BD=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- eslint.config.mjs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/eslint.config.mjs b/eslint.config.mjs index 443ec25..35aae7d 100644 --- a/eslint.config.mjs +++ b/eslint.config.mjs @@ -24,11 +24,11 @@ export default antfu({ ecmaVersion: 2020, }, rules: { + "no-console": process.env.NODE_ENV === "production" ? "warn" : "off", + "no-debugger": process.env.NODE_ENV === "production" ? "warn" : "off", "no-unused-vars": "off", "unused-imports/no-unused-vars": "off", "unused-imports/no-unused-imports": "off", - "no-console": process.env.NODE_ENV === "production" ? "warn" : "off", - "no-debugger": process.env.NODE_ENV === "production" ? "warn" : "off", "vue/no-deprecated-slot-attribute": "off", "@typescript-eslint/no-explicit-any": "off", },