Skip to content

Commit 3ec1f94

Browse files
committed
Add @typescript-eslint/no-unsafe-declaration-merging rule
https://typescript-eslint.io/rules/no-unsafe-declaration-merging
1 parent 8cc2ac5 commit 3ec1f94

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -520,6 +520,7 @@ module.exports = {
520520

521521
'@typescript-eslint/no-unsafe-assignment': 'error',
522522
'@typescript-eslint/no-unsafe-call': 'error',
523+
'@typescript-eslint/no-unsafe-declaration-merging': 'error',
523524

524525
// Disabled until TypeScrpt supports the `node:` protocol.
525526
// '@typescript-eslint/no-unsafe-member-access': 'error',

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,15 +44,15 @@
4444
"simple"
4545
],
4646
"devDependencies": {
47-
"@typescript-eslint/eslint-plugin": "^5.31.0",
48-
"@typescript-eslint/parser": "^5.31.0",
47+
"@typescript-eslint/eslint-plugin": "^5.41.0",
48+
"@typescript-eslint/parser": "^5.41.0",
4949
"ava": "^2.4.0",
5050
"eslint": "^7.8.1",
5151
"typescript": ">=4.4"
5252
},
5353
"peerDependencies": {
54-
"@typescript-eslint/eslint-plugin": ">=5.31.0",
55-
"@typescript-eslint/parser": ">=5.31.0",
54+
"@typescript-eslint/eslint-plugin": ">=5.41.0",
55+
"@typescript-eslint/parser": ">=5.41.0",
5656
"eslint": ">=8.0.0",
5757
"typescript": ">=4.4"
5858
}

0 commit comments

Comments
 (0)