-
Notifications
You must be signed in to change notification settings - Fork 32
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
Add Githook for Code Formatting #33
Labels
documentation
Improvements or additions to documentation
Comments
I wouldn't enable it by default, but we can add documentation (linked from README.md) explaining to the user how to do it ... possibly based on: |
Relevant: #36 (a nix check to make sure that source code was autoformatted). |
Relevant: numtide/treefmt#78 |
Closing in favour of srid/haskell-flake#136 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Putting auto-formatting on a per commit basis would save the developer time resolving formatting issues due to failing CI.
Getting something like the following in a githook would suffice:
nix develop -c "treefmt"
The text was updated successfully, but these errors were encountered: