pre-commit-hooks icon indicating copy to clipboard operation
pre-commit-hooks copied to clipboard

[feature] shellcheck and shfmt should avoid zsh

Open Freed-Wu opened this issue 4 years ago • 2 comments

Shellcheck and shfmt don't support zsh. How about avoid passing zsh file to shellcheck and shfmt hooks?

Thanks!

Freed-Wu avatar Sep 21 '21 05:09 Freed-Wu

Seems like the hook does not include any ability to exclude and ignores config to exclude as well. Thinking this is an issue with #40 as well?

WardsParadox avatar Jun 21 '22 19:06 WardsParadox

Seems like the hook does not include any ability to exclude and ignores config to exclude as well

I have tested #109 will ignore zsh. Can anyone review it?

Freed-Wu avatar Oct 07 '23 07:10 Freed-Wu