git-hooks.nix icon indicating copy to clipboard operation
git-hooks.nix copied to clipboard

Seamless integration of https://pre-commit.com git hooks with Nix.

Results 132 git-hooks.nix issues
Sort by recently updated
recently updated
newest added

Currently the treefmt hook does not support a configuration path option that would enable the reference of treefmt.toml. Without running treefmt --init or --config-file the check cannot be utilised in...

enhancement

It would be nice if each hook could be built as a separate derivation. Currently, only one flake `check` output with the name `pre-commit` is produced. If the hooks could...

enhancement
flake

Unfortunately, the `typos` story still isn't solved properly at this point. My concerns decsribed [here](https://github.com/cachix/pre-commit-hooks.nix/pull/392#issuecomment-1893612669) still exist. ## The Problem _Hint: The problem is also shortly discussed in the commit...

Right now, the `terraform-fmt` hook uses OpenTofu under the hood, which is a little misleading given the hook name. On the other hand, the use of OpenTofu over Terraform may...

This came out of #520. I guess org mode files should be there by default.

It seems that hunspell is not that easy to get working (#159 sort of complains about it) I can't get `hunspell` to work either, it simply skips all files, so...

Added go imports, https://pkg.go.dev/golang.org/x/tools/cmd/goimports as a hook

> ``` > commit 7dca34cf42b2edc9ee34f1228d7cd7fbf9d88f98 > [...] > > latexindent: add hooks.latexindent.settings.extraConfig option > > Replace the hooks.latexindent.settings.flags option with > hooks.latexindent.settings.extraConfig to support arbitrary upstream > flags and allow...

> ``` > commit e7823e085fc0c2c1e9e612c8fe5ced6085dcbf9c > [...] > > latex: merge LaTeX packages into a single derivation > > Merge the packages used by the chktex, lacheck, and latexindent hooks...