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

This PR comprises three changes to the typos hook: - Use structured configuration by making `typos.settings.configuration` an attrs. This change is not backwards compatible. - Add the `typos.settings.force-exclude` option that...

Add support for Oxlint, a new JavaScript linter. -> [https://oxc.rs/docs/guide/usage/linter.html](https://oxc.rs/docs/guide/usage/linter.html)

Splits up `modules/hooks.nix` into individual hook modules in `modules/hooks`.

This commit introduces configuration for [action-validator](https://github.com/mpalmer/action-validator), a tool for validating both workflow and action YAML files. I think this is a worthy addition to the project as it complements the...

I've tried following the [_Flakes support_ section](https://github.com/cachix/git-hooks.nix?tab=readme-ov-file#flakes-support), but the resulting setup is broken in two ways: - `nix flake check` prints the diff necessary to satisfy the formatters, but doesn't...

I only implemented the args for the workflow config path (positional), strict mode ([lint-specific](https://woodpecker-ci.org/docs/cli#lint)) and disabled network-dependent update check (global option; same page, at the top -- the headings don't...

The rust hooks break, when used in a project, which uses Rust 2024. ``` cargo-check..............................................................Failed - hook id: cargo-check - exit code: 101 error: failed to parse manifest at `/home/leon/Projects/manuela/Cargo.toml`...

I'm currently working on a project of mine which makes use of [ansix](https://github.com/nikosportolos/ansix), which was added to the `pubspec.yaml` file. Running the `dart analyze` works, but enabling `dart-analyze` and running...

Because of the way the tests are written, this also runs shellcheck on each test derivation's shellHook, which gets a lot of coverage of the shellHooks in general. Besides the...