Skip to content

Commit ffb86eb

Browse files
committed
Update .eslintrc.js
修改规则,未使用变量警告提示
1 parent f80e530 commit ffb86eb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.eslintrc.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ module.exports = {
88
rules: {
99
"no-console": "off",
1010
"no-debugger": "off",
11-
"no-unused-vars": "off",
11+
"no-unused-vars": "warn",
1212
"no-useless-escape": "off",
1313
// plugin:vue/recommended 规则
1414
"vue/attributes-order": "error",

0 commit comments

Comments
 (0)