Skip to content

Commit

Permalink
Exclude zsh for shellcheck and shfmt
Browse files Browse the repository at this point in the history
shellcheck and shfmt don't support zsh now.
  • Loading branch information
Freed-Wu authored Mar 17, 2023
1 parent 3898055 commit 8c13d18
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .pre-commit-hooks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@
entry: pre_commit_hooks/shellcheck
language: script
types: [shell]
exclude_types: [zsh]
args: [-e, SC1091]

- id: script-must-have-extension
Expand All @@ -115,3 +116,4 @@
language: script
entry: pre_commit_hooks/shfmt
types: [shell]
exclude_types: [zsh]

0 comments on commit 8c13d18

Please sign in to comment.