chore: eslintrc改成cjs后缀

This commit is contained in:
roymondchen 2023-11-03 14:52:02 +08:00
parent ae0b206c4c
commit 801399777b
2 changed files with 2 additions and 2 deletions

View File

@ -14,7 +14,7 @@ module.exports = {
'eslint-config-tencent', 'eslint-config-tencent',
'eslint-config-tencent/ts', 'eslint-config-tencent/ts',
'plugin:vue/vue3-essential', 'plugin:vue/vue3-essential',
'./prettier', './prettier.cjs',
], ],
parser: 'vue-eslint-parser', parser: 'vue-eslint-parser',
parserOptions: { parserOptions: {
@ -28,7 +28,7 @@ module.exports = {
'@typescript-eslint', '@typescript-eslint',
'simple-import-sort' 'simple-import-sort'
], ],
ignorePatterns: ['.eslintrc.js'], ignorePatterns: ['.eslintrc.cjs'],
rules: { rules: {
'vue/no-mutating-props': 'off', 'vue/no-mutating-props': 'off',
'vue/multi-word-component-names': 'off', 'vue/multi-word-component-names': 'off',