Skip to content

Commit

Permalink
fix: add ignore patterns to no-unused-vars
Browse files Browse the repository at this point in the history
  • Loading branch information
usagizmo committed Apr 17, 2023
1 parent 66e29b4 commit 04073b1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/eslint-config-custom/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ module.exports = {
'error',
{
argsIgnorePattern: '^_',
varsIgnorePattern: '^_',
caughtErrorsIgnorePattern: '^_',
},
],
'unused-imports/no-unused-imports': 'error',
Expand Down

2 comments on commit 04073b1

@vercel
Copy link

@vercel vercel bot commented on 04073b1 Apr 17, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@vercel
Copy link

@vercel vercel bot commented on 04073b1 Apr 17, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.