Replies: 1 comment 3 replies
-
Hi Paul, All, Developers have many different options available when setting up clang-format. Let's list them here:
I don't have any objections to the proposal. Just curious to find out which options people are preferring? Cheers, |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi all - I wanted to add some utilties to the repo to make it easier to avoid clang-format issues.
At minimum, I wanted to add a binary command which will run clang-format on the entire repo (or specified files).
I'd like to also add support for pre-commit, to have an easy way to set up pre-commit hooks that ensure clang-format is run. This would just entail adding an extra file,
.pre-commit-config.yaml
, to the repo root; for those that did not wish to use pre-commit, they could simply ignore it. (Or, if they want to set up their own hooks, they could use it as a starting reference point.)Would anyone else find this helpful, or have objections?
Beta Was this translation helpful? Give feedback.
All reactions