fix: 添加lint规则运行脚本,修复lint错误

This commit is contained in:
tnt group
2022-09-16 12:26:12 +08:00
parent d4ba828d08
commit 628d66e80e
20 changed files with 84 additions and 88 deletions
+5 -1
View File
@@ -20,6 +20,10 @@ module.exports = {
extends: ['plugin:vue/vue3-essential', 'eslint:recommended'],
rules: {
'no-console': process.env.NODE_ENV === 'production' ? 'warn' : 'off',
'no-debugger': process.env.NODE_ENV === 'production' ? 'warn' : 'off'
'no-debugger': process.env.NODE_ENV === 'production' ? 'warn' : 'off',
'no-unused-vars': 'off',
'vue/multi-word-component-names': 'off',
'vue/valid-template-root': 'off',
'vue/no-mutating-props': 'off'
}
}