diff options
author | Alan Pearce | 2024-05-22 13:24:03 +0200 |
---|---|---|
committer | Alan Pearce | 2024-05-22 13:24:03 +0200 |
commit | 4197ece130242467189b39619f9e9c6b272b8474 (patch) | |
tree | 34c3d829b0648e51dceef52a30a0edf3d32406a8 /nix | |
parent | 027db4372e82e445c531c958c2da0f9cf6ae1e03 (diff) | |
download | searchix-4197ece130242467189b39619f9e9c6b272b8474.tar.lz searchix-4197ece130242467189b39619f9e9c6b272b8474.tar.zst searchix-4197ece130242467189b39619f9e9c6b272b8474.zip |
build: fix pre-commit check exclude/ignore patterns
Diffstat (limited to 'nix')
-rw-r--r-- | nix/pre-commit-checks.nix | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/nix/pre-commit-checks.nix b/nix/pre-commit-checks.nix index e3b651e..a1612ef 100644 --- a/nix/pre-commit-checks.nix +++ b/nix/pre-commit-checks.nix @@ -38,15 +38,17 @@ rec { 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; |