Skip to content
This repository was archived by the owner on Oct 8, 2025. It is now read-only.

Commit d98506b

Browse files
committed
feat: allow underscored function parameters
1 parent fca43f3 commit d98506b

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

base.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ module.exports = {
1515
'no-use-before-define': ['error', { functions: false, classes: true, variables: true }],
1616
'no-plusplus': 'off',
1717
'consistent-return': 'off',
18+
'no-underscore-dangle': ['error', { allowFunctionParams: true }],
1819

1920
'eslint-comments/disable-enable-pair': 'off',
2021

typescript.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ module.exports = {
2727
'@typescript-eslint/unbound-method': 'off',
2828

2929
'@typescript-eslint/no-unused-vars': ['error', { argsIgnorePattern: '^_' }],
30+
3031
'@typescript-eslint/explicit-function-return-type': 'off',
3132
'@typescript-eslint/no-use-before-define': [
3233
'error',

0 commit comments

Comments
 (0)