Skip to content

Commit

Permalink
Add @typescript-eslint/no-implicit-any-catch rule
Browse files Browse the repository at this point in the history
  • Loading branch information
sindresorhus committed Aug 26, 2020
1 parent 498dffc commit edf8d6d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions index.js
Expand Up @@ -312,6 +312,7 @@ module.exports = {
}
],
'@typescript-eslint/no-for-in-array': 'error',
'@typescript-eslint/no-implicit-any-catch': 'error',
'@typescript-eslint/no-inferrable-types': 'error',

// Disabled for now as it has too many false-positives.
Expand Down
8 changes: 4 additions & 4 deletions package.json
Expand Up @@ -44,15 +44,15 @@
"simple"
],
"devDependencies": {
"@typescript-eslint/eslint-plugin": "^3.6.0",
"@typescript-eslint/parser": "^3.6.0",
"@typescript-eslint/eslint-plugin": "^3.10.0",
"@typescript-eslint/parser": "^3.10.0",
"ava": "^2.4.0",
"eslint": "^7.3.1",
"eslint": "^7.7.0",
"temp-write": "^4.0.0",
"typescript": "^3.9.5"
},
"peerDependencies": {
"@typescript-eslint/eslint-plugin": ">=3.6.0",
"@typescript-eslint/eslint-plugin": ">=3.10.0",
"eslint": ">=6.6.0",
"typescript": ">=3.6.0"
}
Expand Down

0 comments on commit edf8d6d

Please sign in to comment.