From 801399777b312156162f627a3914a7c8d2331225 Mon Sep 17 00:00:00 2001 From: roymondchen Date: Fri, 3 Nov 2023 14:52:02 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20eslintrc=E6=94=B9=E6=88=90cjs=E5=90=8E?= =?UTF-8?q?=E7=BC=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .eslintrc.js => .eslintrc.cjs | 4 ++-- prettier.js => prettier.cjs | 0 2 files changed, 2 insertions(+), 2 deletions(-) rename .eslintrc.js => .eslintrc.cjs (97%) rename prettier.js => prettier.cjs (100%) diff --git a/.eslintrc.js b/.eslintrc.cjs similarity index 97% rename from .eslintrc.js rename to .eslintrc.cjs index e2295799..9016a395 100644 --- a/.eslintrc.js +++ b/.eslintrc.cjs @@ -14,7 +14,7 @@ module.exports = { 'eslint-config-tencent', 'eslint-config-tencent/ts', 'plugin:vue/vue3-essential', - './prettier', + './prettier.cjs', ], parser: 'vue-eslint-parser', parserOptions: { @@ -28,7 +28,7 @@ module.exports = { '@typescript-eslint', 'simple-import-sort' ], - ignorePatterns: ['.eslintrc.js'], + ignorePatterns: ['.eslintrc.cjs'], rules: { 'vue/no-mutating-props': 'off', 'vue/multi-word-component-names': 'off', diff --git a/prettier.js b/prettier.cjs similarity index 100% rename from prettier.js rename to prettier.cjs