Skip to content

Commit ffd01db

Browse files
committed
fix(base): Allow variables which starts with _ be unused
1 parent d9b706c commit ffd01db

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

configurations/base/rules/possible-problems.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ module.exports = {
216216
args: 'none',
217217
ignoreRestSiblings: true,
218218
argsIgnorePattern: '^_*$',
219-
varsIgnorePattern: '^_*$',
219+
varsIgnorePattern: '^_',
220220
}],
221221

222222
// Disallow early use

0 commit comments

Comments
 (0)