pre-commit: disable shellcheck for zsh files

`shellcheck` does not support zsh and throws all sort of errors because
the pre-commit thinks all zsh file are shell scripts.
This commit is contained in:
Fernando Schauenburg 2024-07-14 22:04:00 +02:00
parent d7b6938a74
commit 44d0f1f769

View file

@ -1,4 +1,7 @@
repos:
- repo: meta
hooks:
- id: check-useless-excludes
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.6.0
hooks:
@ -13,3 +16,8 @@ repos:
rev: v0.10.0.1
hooks:
- id: shellcheck
exclude: |
(?x)^(
config\/zsh\/.*|
home/\.zshenv
)$