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 really like to set up pre-commit hooks of code formatters and such to ensure consistent code styling in my repos.
I don't want automatic changes to my commits to happen, so I usually operate these formatter in "check" mode: They don't perform any changes and report via exit status if the files are formatted correctly. If the check fails, my commit is blocked and I am forced to step in by running the formatter manually or forcing an unchecked commit.
Basically, I would like to see this functionality from bibtex-tidy as well:
With the --check option, no changes are performed and the exit code is zero if the file is already correctly formatted.
The text was updated successfully, but these errors were encountered:
I really like to set up pre-commit hooks of code formatters and such to ensure consistent code styling in my repos.
I don't want automatic changes to my commits to happen, so I usually operate these formatter in "check" mode: They don't perform any changes and report via exit status if the files are formatted correctly. If the check fails, my commit is blocked and I am forced to step in by running the formatter manually or forcing an unchecked commit.
Basically, I would like to see this functionality from bibtex-tidy as well:
With the
--check
option, no changes are performed and the exit code is zero if the file is already correctly formatted.The text was updated successfully, but these errors were encountered: