build: fix pre-commit check exclude/ignore patterns
Alan Pearce alan@alanpearce.eu
Wed, 22 May 2024 13:24:03 +0200
1 files changed, 4 insertions(+), 2 deletions(-)
jump to
M nix/pre-commit-checks.nix → nix/pre-commit-checks.nix
@@ -38,15 +38,17 @@ }; statix = { enable = true; + # ignore is a glob settings.ignore = [ "nix/overlays/*" ]; }; deadnix = { enable = true; - excludes = [ "nix/overlays/*" ]; + # excludes is a regex + excludes = [ "nix/overlays/.*" ]; }; nixpkgs-fmt = { enable = true; - excludes = [ "nix/overlays/*" ]; + excludes = [ "nix/overlays/.*" ]; }; convco.enable = true;