New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use multiple exit status codes #166
Labels
Comments
This will also be helpful for any vim syntastic plugin since you'd want to show swiftlint errors different to linting responses. |
Agreed! Perhaps errors should exit with code |
Hi! Any timeframe on this enhancement? Thanks. |
jpsim
added a commit
that referenced
this issue
Mar 10, 2016
Fixed in #584 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Currently SwiftLint exits with a 1 error code when it dies because something is invalid(path, config, etc) OR if there are serious violations. What do you think about exiting with a different code on failing because of violations vs. invalid params?
This would be useful when running SwiftLint within another script and making decisions based on the response. Currently I have no way to tell if it's failing because of violations or invalid data.
The text was updated successfully, but these errors were encountered: