Skip to content

Commit 211abd2

Browse files
committed
Update nix-shell excludes regexs
1 parent 152e57f commit 211abd2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ If you don't want to use [nix](https://nixos.org/guides/install-nix.html), you c
1818
"hooks": [
1919
{
2020
"entry": "stylish-haskell --inplace",
21-
"exclude": "(test/testdata/.*|hie-compat/.*)",
21+
"exclude": "(^Setup.hs$|test/testdata/.*$|test/data/.*$|^hie-compat/.*$)",
2222
"files": "\\.l?hs$",
2323
"id": "stylish-haskell",
2424
"language": "system",

nix/default.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ in (import sources.nixpkgs
5454
# default_stages = ["manual" "push"];
5555
hooks = {
5656
stylish-haskell.enable = true;
57-
stylish-haskell.excludes = [ "test/testdata/.*" "hie-compat/.*" ];
57+
stylish-haskell.excludes = [ "^Setup.hs$" "test/testdata/.*$" "test/data/.*$" "^hie-compat/.*$" ];
5858
};
5959
};
6060
}

0 commit comments

Comments
 (0)