2017-05-28 00:38:50 +02:00
|
|
|
import * as ts from "typescript";
|
|
|
|
import { RuleFailure } from "./language/rule/rule";
|
2017-08-14 05:01:11 +02:00
|
|
|
/**
|
|
|
|
* regex is: start of string followed by any amount of whitespace
|
|
|
|
* followed by tslint and colon
|
|
|
|
* followed by either "enable" or "disable"
|
|
|
|
* followed optionally by -line or -next-line
|
|
|
|
* followed by either colon, whitespace or end of string
|
|
|
|
*/
|
|
|
|
export declare const ENABLE_DISABLE_REGEX: RegExp;
|
2017-05-28 00:38:50 +02:00
|
|
|
export declare function removeDisabledFailures(sourceFile: ts.SourceFile, failures: RuleFailure[]): RuleFailure[];
|