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
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-tidycannot be set to exit code 1 when lints are not passingDescribe the solution you'd like
A
--ciflag innixf-tidyto make it exit code 1 when lints are not passingAdditionally, it should be compatible with #841, and when set, should move its default severity to
DS_WarnorDS_ErrorDescribe alternatives you've considered
nixf-diagnoseAdditional context
--severity#841