Skip to content

Commit 0fac85e

Browse files
committed
1 parent 025fcf4 commit 0fac85e

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -399,6 +399,7 @@ module.exports = {
399399
'@typescript-eslint/no-unnecessary-type-arguments': 'error',
400400
'@typescript-eslint/no-unnecessary-type-assertion': 'error',
401401
'@typescript-eslint/no-unnecessary-type-constraint': 'error',
402+
'@typescript-eslint/no-unsafe-argument': 'error',
402403

403404
// TODO: Enable these again when we can use ESM natively in Node.js. These rules cause problems with syntax like `import x = require('x');`
404405
// '@typescript-eslint/no-unsafe-assignment': 'error',

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,15 +44,15 @@
4444
"simple"
4545
],
4646
"devDependencies": {
47-
"@typescript-eslint/eslint-plugin": "^4.17.0",
48-
"@typescript-eslint/parser": "^4.17.0",
47+
"@typescript-eslint/eslint-plugin": "^4.21.0",
48+
"@typescript-eslint/parser": "^4.21.0",
4949
"ava": "^2.4.0",
5050
"eslint": "^7.8.1",
5151
"temp-write": "^4.0.0",
5252
"typescript": "^4.1.3"
5353
},
5454
"peerDependencies": {
55-
"@typescript-eslint/eslint-plugin": ">=4.17.0",
55+
"@typescript-eslint/eslint-plugin": ">=4.21.0",
5656
"eslint": ">=7.8.0",
5757
"typescript": ">=3.6.0"
5858
}

0 commit comments

Comments
 (0)