Skip to content

Commit ba6cdd5

Browse files
Remove types_or from shellcheck
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
1 parent 46fb563 commit ba6cdd5

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

modules/hooks.nix

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -406,16 +406,6 @@ in
406406
name = "shellcheck";
407407
description = "Format shell files.";
408408
types = [ "shell" ];
409-
types_or =
410-
# based on `goodShells` in https://github.com/koalaman/shellcheck/blob/master/src/ShellCheck/Parser.hs
411-
[
412-
"sh"
413-
"ash"
414-
"bash"
415-
"bats"
416-
"dash"
417-
"ksh"
418-
];
419409
entry = "${tools.shellcheck}/bin/shellcheck";
420410
};
421411
stylua =

0 commit comments

Comments
 (0)