2024-08-23 16:01:52 +08:00
|
|
|
module.exports = {
|
|
|
|
root: true,
|
|
|
|
env: {
|
|
|
|
node: true
|
|
|
|
},
|
|
|
|
'extends': [
|
|
|
|
'plugin:vue/vue3-essential',
|
|
|
|
'eslint:recommended',
|
|
|
|
'@vue/typescript/recommended'
|
|
|
|
],
|
|
|
|
parserOptions: {
|
|
|
|
ecmaVersion: 2020
|
|
|
|
},
|
|
|
|
rules: {
|
|
|
|
'no-console': process.env.NODE_ENV === 'production' ? 'warn' : 'off',
|
|
|
|
'no-debugger': process.env.NODE_ENV === 'production' ? 'warn' : 'off',
|
|
|
|
'vue/multi-word-component-names': 'off',
|
|
|
|
'@typescript-eslint/no-this-alias': 'off',
|
2024-08-29 17:32:27 +08:00
|
|
|
"no-undef": "off"
|
2024-08-23 16:01:52 +08:00
|
|
|
}
|
|
|
|
}
|