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

Automate code formatting using git hooks #333

Closed
mraduldubey opened this issue Feb 26, 2024 · 0 comments · Fixed by #334
Closed

Automate code formatting using git hooks #333

mraduldubey opened this issue Feb 26, 2024 · 0 comments · Fixed by #334
Labels
enhancement New feature or request

Comments

@mraduldubey
Copy link
Collaborator

Is your feature request related to a problem? Please describe.
We should automate code formatting, which currently is a manual task and leads to extra commits/CI runs

Describe the solution you'd like
Git pre commit hooks to ensure the code is formatted before the commit even happens, so that the git history is completely clean

Describe alternatives you've considered
Server side git hooks

Additional context
we need to integrate clang formatting to do the actual formatting of the code & git hooks will automate it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant