[eslint] add usedDeprecatedRules property (#41832)

This commit is contained in:
Gareth Jones
2020-01-24 16:58:08 -08:00
committed by Ben Lichtman
parent 3d136b8594
commit 9854ca5331
+6
View File
@@ -546,6 +546,12 @@ export namespace CLIEngine {
warningCount: number;
fixableErrorCount: number;
fixableWarningCount: number;
usedDeprecatedRules: DeprecatedRuleUse[];
}
interface DeprecatedRuleUse {
ruleId: string;
replacedBy: string[];
}
type Formatter = (results: LintResult[], data?: LintResultData) => string;