Skip to content

Commit

Permalink
Merge pull request #339 from mmlb/fix-shellcheck
Browse files Browse the repository at this point in the history
Let shellcheck handle good vs bad shell types
  • Loading branch information
domenkozar authored Aug 16, 2023
2 parents c5ac3aa + 61bda56 commit 3e3d45c
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions modules/hooks.nix
Original file line number Diff line number Diff line change
Expand Up @@ -1055,16 +1055,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";
};
bats =
Expand Down

0 comments on commit 3e3d45c

Please sign in to comment.