Skip to content

Commit

Permalink
fix(typescript): ignore unused rest in destructuring
Browse files Browse the repository at this point in the history
  • Loading branch information
GerkinDev committed Jul 30, 2021
1 parent ac16e87 commit 80673b1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/config-fragments/plugins/typescript-eslint.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ export = {
'error',
{
default: [
// Index signature
// Index signature
'signature',

// Static fields
Expand Down Expand Up @@ -138,6 +138,7 @@ export = {
argsIgnorePattern: '^_',
caughtErrors: 'all',
caughtErrorsIgnorePattern: '^_',
ignoreRestSiblings: true,
},
],
'@typescript-eslint/no-use-before-define': 'off',
Expand Down

0 comments on commit 80673b1

Please sign in to comment.