Skip to content

Commit b9c579a

Browse files
committed
feat(base): allow unused var with rest
1 parent 18cdd23 commit b9c579a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rules/base.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ module.exports = {
120120
'no-shadow-restricted-names': ['error'],
121121
'no-undef': ['error'],
122122
'no-undefined': ['off'],
123-
'no-unused-vars': ['error'],
123+
'no-unused-vars': ['error', { ignoreRestSiblings: true }],
124124
'no-use-before-define': ['error', { functions: false }],
125125

126126
// Node.js and Common.js

0 commit comments

Comments
 (0)