Skip to content

Commit

Permalink
fix: use @typescript-eslint/no-unused-vars
Browse files Browse the repository at this point in the history
  • Loading branch information
wemeetagain committed Apr 19, 2024
1 parent 1f9ebc6 commit f70e02f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/ts.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ module.exports = {
'@typescript-eslint/await-thenable': 'error', // disallows awaiting a value that is not a "Thenable"
'@typescript-eslint/restrict-template-expressions': 'off', // allow values with `any` type in template literals
'@typescript-eslint/method-signature-style': ['error', 'method'], // enforce method signature style
"no-unused-vars": "off", // disable this rule to use @typescript-eslint/no-unused-vars instead
"@typescript-eslint/no-unused-vars": "error", // disallow unused variables
'no-return-await': 'off', // disable this rule to use @typescript-eslint/return-await instead
'@typescript-eslint/return-await': ['error', 'in-try-catch'], // require awaiting thenables returned from try/catch
'jsdoc/require-param': 'off', // do not require jsdoc for params
Expand Down

0 comments on commit f70e02f

Please sign in to comment.