Skip to content

Commit

Permalink
Remove types_or from shellcheck
Browse files Browse the repository at this point in the history
This made the pre-commit configuration work with shell files.

Tested on macOS 10.15.7 (Intel i7) and 12.6 (Apple M1 Max) using both bash and zsh
  • Loading branch information
futtetennista committed Nov 20, 2022
1 parent f66b4ab commit 9503745
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions modules/hooks.nix
Expand Up @@ -406,16 +406,6 @@ in
name = "shellcheck";
description = "Format shell files.";
types = [ "shell" ];
types_or =
# based on `goodShells` in https://github.com/koalaman/shellcheck/blob/master/src/ShellCheck/Parser.hs
[
"sh"
"ash"
"bash"
"bats"
"dash"
"ksh"
];
entry = "${tools.shellcheck}/bin/shellcheck";
};
stylua =
Expand Down

0 comments on commit 9503745

Please sign in to comment.