Skip to content

Add 'mise run fix' hint to lint failure output #89

@zeitlinger

Description

@zeitlinger

Problem

When CI lint fails, the output shows the error but gives no hint how to fix it.
Users see this and have to figure out the fix command themselves:

Error: [lint:super-linter] Errors found in YAML_PRETTIER
Error: [lint:super-linter] Super-linter detected linting errors

Suggested approach

When a lint task detects failures, print a hint:

💡 Try 'mise run fix' to auto-fix lint issues, then re-run 'mise run lint' to verify.

This should apply to all flint lint tasks, not just super-linter — any task that
fails should suggest the fix command.

Acceptance criteria

  • Lint failure output includes a hint pointing to mise run fix + mise run lint
  • Hint makes clear that fix is best-effort (try + verify)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions