1 | import * as TSESLint from '../ts-eslint';
|
2 | declare const parser = "@typescript-eslint/parser";
|
3 | declare type RuleTesterConfig = Omit<TSESLint.RuleTesterConfig, 'parser'> & {
|
4 | parser: typeof parser;
|
5 | };
|
6 | declare class RuleTester extends TSESLint.RuleTester {
|
7 | #private;
|
8 | constructor(options: RuleTesterConfig);
|
9 | private getFilename;
|
10 | run<TMessageIds extends string, TOptions extends Readonly<unknown[]>>(name: string, rule: TSESLint.RuleModule<TMessageIds, TOptions>, testsReadonly: TSESLint.RunTests<TMessageIds, TOptions>): void;
|
11 | }
|
12 | /**
|
13 | * Simple no-op tag to mark code samples as "should not format with prettier"
|
14 | * for the internal/plugin-test-formatting lint rule
|
15 | */
|
16 | declare function noFormat(strings: TemplateStringsArray, ...keys: string[]): string;
|
17 | export { noFormat, RuleTester };
|
18 |
|
\ | No newline at end of file |