Result of applyFixes.

interface ApplyFixesResult {
    errors: ApplyFixesIssueOutcome[];
    fixed: ApplyFixesIssueOutcome[];
    skipped: ApplyFixesIssueOutcome[];
}

Properties

Properties

Issues whose strategy raised an error (returned ok: false from apply). Each entry carries the strategy's description and the error message so calling code can log / present them.

Issues whose strategy returned {fixed: true}.

Issues that couldn't be auto-fixed — either no registered strategy matched the code, or the strategy returned {fixed: false} without raising an error. Callers typically surface these to a user with the issue list, the way an IDE shows "could not auto-fix N problems".