Skip to content

Commit c1035eb

Browse files
committed
update eslint rules
1 parent 901a979 commit c1035eb

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.eslintrc.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ module.exports = {
2222
// allow async-await
2323
'generator-star-spacing': 0,
2424
// allow debugger during development
25-
'no-debugger': process.env.NODE_ENV === 'production' ? 2 : 0
25+
'no-debugger': process.env.NODE_ENV === 'production' ? 2 : 0,
26+
"no-unused-vars": process.env.NODE_ENV === 'production' ? 2 : 1
2627
}
2728
}

0 commit comments

Comments
 (0)