Skip to content

Commit

Permalink
Use new name of renamed rule
Browse files Browse the repository at this point in the history
  • Loading branch information
sindresorhus committed Mar 26, 2024
1 parent 047d2ba commit 36dd3ea
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -505,7 +505,7 @@ module.exports = {
}
],
'no-throw-literal': 'off',
'@typescript-eslint/no-throw-literal': [
'@typescript-eslint/only-throw-error': [
'error',
{
// This should ideally be `false`, but it makes rethrowing errors inconvenient. There should be a separate `allowRethrowingUnknown` option.
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.3.0",
"@typescript-eslint/parser": "^7.3.0",
"@typescript-eslint/eslint-plugin": "^7.4.0",
"@typescript-eslint/parser": "^7.4.0",
"ava": "^6.1.2",
"eslint": "^8.56.0",
"typescript": "^5.3.3"
},
"peerDependencies": {
"@typescript-eslint/eslint-plugin": ">=7.3.0",
"@typescript-eslint/parser": ">=7.3.0",
"@typescript-eslint/eslint-plugin": ">=7.4.0",
"@typescript-eslint/parser": ">=7.4.0",
"eslint": ">=8.56.0",
"typescript": ">=5.0.0"
}
Expand Down

0 comments on commit 36dd3ea

Please sign in to comment.