1 parent 18ea373 commit aac279bCopy full SHA for aac279b
2 files changed
.changeset/lazy-ravens-pull.md
@@ -0,0 +1,5 @@
1
+---
2
+'@eddeee888/eslint-plugin': patch
3
4
+
5
+Migrate from @typescript-eslint/no-throw-literal to @typescript-eslint/only-throw-error
packages/eslint-plugin/src/configs/typescript.ts
@@ -23,7 +23,7 @@ export const typescriptConfig = {
23
'no-shadow': 'off',
24
'@typescript-eslint/no-shadow': 'error',
25
'no-throw-literal': 'off',
26
- '@typescript-eslint/no-throw-literal': 'error',
+ '@typescript-eslint/only-throw-error': 'error',
27
'@typescript-eslint/no-unsafe-member-access': 'error',
28
'no-unused-expressions': 'off',
29
'@typescript-eslint/no-unused-expressions': 'error',
0 commit comments