-
Notifications
You must be signed in to change notification settings - Fork 159
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
Integrate with nix fmt
#287
Labels
enhancement
New feature or request
Comments
This is much needed option, because - while the corrected formatting gets applied to staged changes - there's no way to apply formatting to all tracked files. EDIT: its there at |
If someone makes a PR that would be great! |
shikanime
added a commit
to shikanime/git-hooks.nix
that referenced
this issue
Sep 20, 2024
fixes: cachix#287
shikanime
added a commit
to shikanime/git-hooks.nix
that referenced
this issue
Oct 10, 2024
fixes: cachix#287
shikanime
added a commit
to shikanime/git-hooks.nix
that referenced
this issue
Oct 10, 2024
fixes: cachix#287
shikanime
added a commit
to shikanime/git-hooks.nix
that referenced
this issue
Oct 10, 2024
fixes: cachix#287
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
As you can see in the manual, there's a
nix fmt
option for flakes. Flakes can indicate what program should be used for formatting code. Flakes that use this project will usually be formatted using it, so I think it would be helpful to provide formatter configuration out of the box when using the flake template. Also documenting how to use it for projects that already have a flake.The text was updated successfully, but these errors were encountered: