Skip to content

Commit cee8438

Browse files
authored
fix: use the no-throw-literal rule
1 parent 997d86f commit cee8438

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

eslint.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ export default [
8989
"no-shadow": "off",
9090
"@typescript-eslint/no-shadow": "error",
9191
"no-throw-literal": "off",
92-
"@typescript-eslint/no-throw-literal": "error",
92+
"@typescript-eslint/only-throw-error": "error",
9393
"no-unused-expressions": "off",
9494
"@typescript-eslint/no-unused-expressions": "error",
9595
"no-use-before-define": "off",

0 commit comments

Comments
 (0)