This commit is contained in:
huzhushan 2021-04-20 11:00:06 +08:00
parent 791cf1c476
commit 4bc5c1a46e

View File

@ -15,7 +15,7 @@ module.exports = {
'no-console': 0,
'no-use-before-define': 'off',
'no-unused-vars': [
'error',
'warn',
{
// 允许声明未使用变量
vars: 'local',
@ -23,7 +23,7 @@ module.exports = {
args: 'none',
},
],
'vue/no-unused-vars': 'error',
'vue/no-unused-vars': 'warn',
'no-prototype-builtins': 'off',
'space-before-function-paren': 'off',
'vue/custom-event-name-casing': 'off',