Urara-Blog/node_modules/.pnpm-store/v3/files/79/d7f56a23256bfc8d3e2e079dde062ff7fcce2b6e9a1a7e9aeef76ab9315859fe7a9e9bc934eb108442c768f11a7de13aa35cda10f9e0259231eed399d2f0db
2022-08-14 01:14:53 +08:00

18 lines
No EOL
843 B
Text

import * as TSESLint from '../ts-eslint';
declare const parser = "@typescript-eslint/parser";
declare type RuleTesterConfig = Omit<TSESLint.RuleTesterConfig, 'parser'> & {
parser: typeof parser;
};
declare class RuleTester extends TSESLint.RuleTester {
#private;
constructor(options: RuleTesterConfig);
private getFilename;
run<TMessageIds extends string, TOptions extends Readonly<unknown[]>>(name: string, rule: TSESLint.RuleModule<TMessageIds, TOptions>, testsReadonly: TSESLint.RunTests<TMessageIds, TOptions>): void;
}
/**
* Simple no-op tag to mark code samples as "should not format with prettier"
* for the internal/plugin-test-formatting lint rule
*/
declare function noFormat(strings: TemplateStringsArray, ...keys: string[]): string;
export { noFormat, RuleTester };
//# sourceMappingURL=RuleTester.d.ts.map