mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-12-04 04:01:52 +00:00
[eslint] add usedDeprecatedRules property (#41832)
This commit is contained in:
committed by
Ben Lichtman
parent
3d136b8594
commit
9854ca5331
Vendored
+6
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user