Skip to content

Commit 35ec15c

Browse files
committed
Update nix exclude range
1 parent 94562f8 commit 35ec15c

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

nix/default.nix

+8-1
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,14 @@ in (import sources.nixpkgs
8686
# default_stages = ["manual" "push"];
8787
hooks = {
8888
stylish-haskell.enable = true;
89-
stylish-haskell.excludes = [ "^Setup.hs$" "test/testdata/.*$" "test/data/.*$" "^hie-compat/.*$" "^plugins/hls-tactics-plugin/.*$" ];
89+
stylish-haskell.excludes = [
90+
# Ignored files
91+
"^Setup.hs$" "test/testdata/.*$" "test/data/.*$" "test/manual/lhs/.*$" "^hie-compat/.*$" "^plugins/hls-tactics-plugin/.*$"
92+
93+
# Temporarily ignored files
94+
# Stylish-haskell (and other formatters) does not work well with some CPP usages in these files
95+
"^ghcide/src/Development/IDE/GHC/Compat.hs$" "^plugins/hls-splice-plugin/src/Ide/Plugin/Splice.hs$" "^ghcide/test/exe/Main.hs$" "ghcide/src/Development/IDE/Core/Rules.hs" "^hls-test-utils/src/Test/Hls/Util.hs$"
96+
];
9097
};
9198
};
9299
}

0 commit comments

Comments
 (0)