diff options
Diffstat (limited to 'nix/pre-commit-checks.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; |