Skip to content
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

Check mode #53

Closed
pesterhazy opened this issue Sep 2, 2019 · 1 comment
Closed

Check mode #53

pesterhazy opened this issue Sep 2, 2019 · 1 comment

Comments

@pesterhazy
Copy link

Is there a way to run the tool in "check" mode?

It should return exit status 0 if all files are already formatted according to the guidelines, exit status 1 otherwise.

This would allow operation in CI jobs to make sure that only files that are properly formatted can be merged.

@ThisIsManta
Copy link
Owner

Done at v2.14.0

See usage example at the second-to-last paragraph in the official doc

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants