Skip to content

Commit

Permalink
Update nix exclude range
Browse files Browse the repository at this point in the history
  • Loading branch information
Ailrun committed May 12, 2021
1 parent 94562f8 commit f39ffff
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion nix/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,14 @@ in (import sources.nixpkgs
# default_stages = ["manual" "push"];
hooks = {
stylish-haskell.enable = true;
stylish-haskell.excludes = [ "^Setup.hs$" "test/testdata/.*$" "test/data/.*$" "^hie-compat/.*$" "^plugins/hls-tactics-plugin/.*$" ];
stylish-haskell.excludes = [
# Ignored files
"^Setup.hs$" "test/testdata/.*$" "test/data/.*$" "test/manual/lhs/.*$" "^hie-compat/.*$" "^plugins/hls-tactics-plugin/.*$"

# Temporarily ignored files
# Stylish-haskell (and other formatters) does not work well with some CPP usages in these files
"^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"
];
};
};
}

0 comments on commit f39ffff

Please sign in to comment.