Skip to content

Commit b06c25c

Browse files
fix: mark no-throw-statements rule as requiring type checking (#963)
Co-authored-by: Rebecca Stevens <rebecca.stevens@outlook.co.nz>
1 parent afe34c2 commit b06c25c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/rules/no-throw-statements.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ const meta: NamedCreateRuleCustomMeta<keyof typeof errorMessages, RawOptions> =
6666
description: "Disallow throwing exceptions.",
6767
recommended: "recommended",
6868
recommendedSeverity: "error",
69-
requiresTypeChecking: false,
69+
requiresTypeChecking: true,
7070
},
7171
messages: errorMessages,
7272
schema,

0 commit comments

Comments
 (0)