From 8a974c559a172d59771562e2725ce583256b811b Mon Sep 17 00:00:00 2001 From: Yuerking12345 <1187047578@qq.com> Date: Sun, 19 Oct 2025 13:02:18 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=8A=E4=BC=A0=E6=96=87=E4=BB=B6=E8=87=B3?= =?UTF-8?q?=20/?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .eslintrc.js | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .eslintrc.js diff --git a/.eslintrc.js b/.eslintrc.js new file mode 100644 index 0000000..671e312 --- /dev/null +++ b/.eslintrc.js @@ -0,0 +1,25 @@ +module.exports = { + root: true, + env: { + node: true, + browser: true, + es2022: true + }, + extends: [ + 'eslint:recommended', + 'plugin:vue/vue3-recommended' + ], + parserOptions: { + ecmaVersion: 'latest', + sourceType: 'module' + }, + rules: { + 'no-console': 'warn', + 'no-debugger': 'warn', + 'vue/multi-word-component-names': 'off', + 'no-unused-vars': 'warn' + }, + globals: { + globalThis: 'readonly' + } +}; \ No newline at end of file