1
0
mirror of https://github.com/sasjs/lint.git synced 2026-04-14 01:43:14 +00:00

feat(format-diagnostics): add diagnostic information to format result payload

This commit is contained in:
Krishna Acondy
2021-05-04 08:27:06 +01:00
parent 984915fe47
commit dce9453680
5 changed files with 72 additions and 6 deletions

View File

@@ -0,0 +1,7 @@
import { Diagnostic } from './Diagnostic'
export interface FormatResult {
updatedFilePaths: string[]
fixedDiagnosticsCount: number
unfixedDiagnostics: Map<string, Diagnostic[]> | Diagnostic[]
}

View File

@@ -1,4 +1,5 @@
export * from './Diagnostic'
export * from './FormatResult'
export * from './LintConfig'
export * from './LintRule'
export * from './LintRuleType'