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