mirror of
https://github.com/Tencent/tmagic-editor.git
synced 2025-04-05 19:41:40 +08:00
chore: eslintrc改成cjs后缀
This commit is contained in:
parent
ae0b206c4c
commit
801399777b
@ -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',
|
Loading…
x
Reference in New Issue
Block a user