MCPcopy
hub / github.com/formatjs/formatjs / EslintCompatRuleTester

Interface EslintCompatRuleTester

packages/eslint-plugin-formatjs/tests/util.ts:27–36  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

25}
26
27interface EslintCompatRuleTester {
28 run(
29 name: string,
30 rule: Rule.RuleModule,
31 tests: {
32 valid: Array<string | ValidTestCase>
33 invalid: Array<InvalidTestCase>
34 }
35 ): void
36}
37
38// @ts-expect-error oxlint RuleTester accepts ESLint Rule.RuleModule in eslintCompat mode
39export const ruleTester: EslintCompatRuleTester = new RuleTester({

Callers 8

runMethod · 0.65
runFunction · 0.65
runFunction · 0.65
runFunction · 0.65
buildWithWebpackFunction · 0.65
buildWithRspackFunction · 0.65
no-offset.test.tsFile · 0.65

Implementers 1

BazelNpmWorkspacetools/release-please/npm-workspace-plu

Calls

no outgoing calls

Tested by

no test coverage detected