1 | import { IRuleMetadata, RuleFailure } from 'tslint';
|
2 | import { AbstractRule } from 'tslint/lib/rules';
|
3 | import { SourceFile } from 'typescript';
|
4 | interface FailureParameters {
|
5 | readonly message: typeof Rule.FAILURE_STRING_INTERFACE_HOOK | typeof Rule.FAILURE_STRING_METHOD_HOOK;
|
6 | }
|
7 | export declare const getFailureMessage: (failureParameters: FailureParameters) => string;
|
8 | export declare class Rule extends AbstractRule {
|
9 | static metadata: IRuleMetadata;
|
10 | static readonly FAILURE_STRING_INTERFACE_HOOK: string;
|
11 | static readonly FAILURE_STRING_METHOD_HOOK: string;
|
12 | apply(sourceFile: SourceFile): RuleFailure[];
|
13 | }
|
14 | export {};
|