UNPKG

tslint

Version:

An extensible static analysis linter for the TypeScript language

8 lines (7 loc) 278 B
import * as ts from "typescript"; import * as Lint from "../index"; export declare class Rule extends Lint.Rules.AbstractRule { static metadata: Lint.IRuleMetadata; static FAILURE_STRING(name: string): string; apply(sourceFile: ts.SourceFile): Lint.RuleFailure[]; }