We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d7fc095 commit 7196d93Copy full SHA for 7196d93
test/utils.ts
@@ -181,6 +181,9 @@ export class RuleTester extends TSESLint.RuleTester {
181
super(option)
182
}
183
184
+ /**
185
+ * Since we can't override the original `run` method, we have to create a new one that accepts our custom rule module with custom meta.
186
+ */
187
run$<MessageIds extends string, Options extends Readonly<unknown[]>>(
188
ruleName: string,
189
rule: RuleModuleWithCustomMeta<MessageIds, Options>,
0 commit comments