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:
7
src/types/FormatResult.ts
Normal file
7
src/types/FormatResult.ts
Normal file
@@ -0,0 +1,7 @@
|
||||
import { Diagnostic } from './Diagnostic'
|
||||
|
||||
export interface FormatResult {
|
||||
updatedFilePaths: string[]
|
||||
fixedDiagnosticsCount: number
|
||||
unfixedDiagnostics: Map<string, Diagnostic[]> | Diagnostic[]
|
||||
}
|
||||
@@ -1,4 +1,5 @@
|
||||
export * from './Diagnostic'
|
||||
export * from './FormatResult'
|
||||
export * from './LintConfig'
|
||||
export * from './LintRule'
|
||||
export * from './LintRuleType'
|
||||
|
||||
Reference in New Issue
Block a user