From 132ffd57209171cdca31916f47cfebe7584cdcad Mon Sep 17 00:00:00 2001 From: Philipp Schuster Date: Mon, 8 Jan 2024 14:35:44 +0100 Subject: [PATCH] doc: improve README.md --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index a14a6008..597b83a4 100644 --- a/README.md +++ b/README.md @@ -34,6 +34,7 @@ https://devenv.sh/pre-commit-hooks/ let nix-pre-commit-hooks = import (builtins.fetchTarball "https://github.com/cachix/pre-commit-hooks.nix/tarball/master"); in { + # Configured with the module options defined in `modules/pre-commit.nix`: pre-commit-check = nix-pre-commit-hooks.run { src = ./.; # If your hooks are intrusive, avoid running on each commit with a default_states like this: @@ -43,6 +44,9 @@ https://devenv.sh/pre-commit-hooks/ ormolu.enable = true; shellcheck.enable = true; }; + + # Set the pkgs to get the tools for the hooks from. + # tools = pkgs; # Some hooks offer custom settings that affect how they execute settings = {