Skip to content

Commit

Permalink
Add @typescript-eslint/no-unsafe-declaration-merging rule
Browse files Browse the repository at this point in the history
  • Loading branch information
sindresorhus committed Nov 16, 2022
1 parent 8cc2ac5 commit 3ec1f94
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -520,6 +520,7 @@ module.exports = {

'@typescript-eslint/no-unsafe-assignment': 'error',
'@typescript-eslint/no-unsafe-call': 'error',
'@typescript-eslint/no-unsafe-declaration-merging': 'error',

// Disabled until TypeScrpt supports the `node:` protocol.
// '@typescript-eslint/no-unsafe-member-access': 'error',
Expand Down
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,15 +44,15 @@
"simple"
],
"devDependencies": {
"@typescript-eslint/eslint-plugin": "^5.31.0",
"@typescript-eslint/parser": "^5.31.0",
"@typescript-eslint/eslint-plugin": "^5.41.0",
"@typescript-eslint/parser": "^5.41.0",
"ava": "^2.4.0",
"eslint": "^7.8.1",
"typescript": ">=4.4"
},
"peerDependencies": {
"@typescript-eslint/eslint-plugin": ">=5.31.0",
"@typescript-eslint/parser": ">=5.31.0",
"@typescript-eslint/eslint-plugin": ">=5.41.0",
"@typescript-eslint/parser": ">=5.41.0",
"eslint": ">=8.0.0",
"typescript": ">=4.4"
}
Expand Down

0 comments on commit 3ec1f94

Please sign in to comment.