Commit aea376ef authored by lipengcheng 's avatar lipengcheng

feat: eslint规则配置

no-unused-vars:变量声明后必须使用;参数arg不做限制
parent 95cb5d1c
......@@ -85,6 +85,14 @@ module.exports = {
}
],
// 去掉空白报错
'no-irregular-whitespace': 'off'
'no-irregular-whitespace': 'off',
// 变量声明后必须使用;参数arg不做限制
'no-unused-vars': [
1,
{
vars: 'all',
args: 'none'
}
]
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment