Skip to content

Commit

Permalink
Allow explicit any in catch
Browse files Browse the repository at this point in the history
  • Loading branch information
louischan-oursky committed Mar 24, 2022
1 parent 9c1940c commit 87f8bfa
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/configs/typescript.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,12 @@ module.exports = {
"@typescript-eslint/no-extra-non-null-assertion": "error",
"@typescript-eslint/no-extra-parens": "off",
"@typescript-eslint/no-extra-semi": "off",
"@typescript-eslint/no-implicit-any-catch": "error",
"@typescript-eslint/no-implicit-any-catch": [
"error",
{
allowExplicitAny: true,
},
],
"@typescript-eslint/no-implied-eval": "error",
"no-invalid-this": "off",
"@typescript-eslint/no-invalid-this": "error",
Expand Down

0 comments on commit 87f8bfa

Please sign in to comment.