UNPKG

392 BTypeScriptView Raw
1import { IRuleMetadata, RuleFailure } from 'tslint/lib';
2import { AbstractRule } from 'tslint/lib/rules';
3import { SourceFile } from 'typescript';
4export declare class Rule extends AbstractRule {
5 static readonly metadata: IRuleMetadata;
6 static readonly FAILURE_STRING: string;
7 apply(sourceFile: SourceFile): RuleFailure[];
8 isEnabled(): boolean;
9 private areOptionsValid;
10}