You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I ran into a bug in ktlint earlier today, which has motivated this feature request. I ran ktlint --format locally, before submitting a pull request where the CI system runs ktlint. ktlint --format did not fail locally (and I didn't look closely at the logs to see the warning), but ktlint on CI did fail.
Expected Behavior
When running ktlint --format, any inability to autocorrect should be an error result code.
Current Behavior
ktlint will print a warning, rather than returning an error result code.