Skip to content

feat(nixf-tidy): --ci flag #840

Description

@Malix-Labs

Is your feature request related to a problem? Please describe.

CI usually use exit code 1 to determine is a check is failing

Currently, nixf-tidy cannot be set to exit code 1 when lints are not passing

Describe the solution you'd like

A --ci flag in nixf-tidy to make it exit code 1 when lints are not passing

Additionally, it should be compatible with #841, and when set, should move its default severity to DS_Warn or DS_Error

Describe alternatives you've considered

nixf-diagnose

Additional context

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Fields

    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