Skip to content

Commit

Permalink
Remove deprecated rule @typescript-eslint/prefer-ts-expect-error
Browse files Browse the repository at this point in the history
  • Loading branch information
sindresorhus committed May 27, 2024
1 parent 36dd3ea commit 3271346
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
1 change: 0 additions & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -613,7 +613,6 @@ module.exports = {

'@typescript-eslint/prefer-reduce-type-parameter': 'error',
'@typescript-eslint/prefer-string-starts-ends-with': 'error',
'@typescript-eslint/prefer-ts-expect-error': 'error',
'@typescript-eslint/promise-function-async': 'error',
quotes: 'off',
'@typescript-eslint/quotes': [
Expand Down
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,15 +45,15 @@
"simple"
],
"devDependencies": {
"@typescript-eslint/eslint-plugin": "^7.4.0",
"@typescript-eslint/parser": "^7.4.0",
"@typescript-eslint/eslint-plugin": "^7.11.0",
"@typescript-eslint/parser": "^7.11.0",
"ava": "^6.1.2",
"eslint": "^8.56.0",
"typescript": "^5.3.3"
},
"peerDependencies": {
"@typescript-eslint/eslint-plugin": ">=7.4.0",
"@typescript-eslint/parser": ">=7.4.0",
"@typescript-eslint/eslint-plugin": ">=7.11.0",
"@typescript-eslint/parser": ">=7.11.0",
"eslint": ">=8.56.0",
"typescript": ">=5.0.0"
}
Expand Down

0 comments on commit 3271346

Please sign in to comment.