Skip to content

Commit

Permalink
Use the typescript-eslint version of no-uused-vars (#555)
Browse files Browse the repository at this point in the history
  • Loading branch information
NSeydoux authored Dec 14, 2023
1 parent ba32ad3 commit 05ae6b7
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions eslint-configs/eslint-config-lib/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,10 @@ module.exports = {
"error",
{ prefer: "type-imports" },
],
// Using the typescript-eslint version of the followig rule prevents
// from flagging parameter names in signature types as unused.
"no-unused-vars": "off",
"@typescript-eslint/no-unused-vars": "error",
},
},
],
Expand Down

0 comments on commit 05ae6b7

Please sign in to comment.