dotfiles/.pre-commit-config.yaml
Fernando Schauenburg 44d0f1f769 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.
2024-07-14 23:52:07 +02:00

23 lines
546 B
YAML

repos:
- repo: meta
hooks:
- id: check-useless-excludes
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.6.0
hooks:
- id: check-added-large-files
- id: check-executables-have-shebangs
- id: check-shebang-scripts-are-executable
- id: check-symlinks
- id: end-of-file-fixer
- id: fix-byte-order-marker
- id: trailing-whitespace
- repo: https://github.com/shellcheck-py/shellcheck-py
rev: v0.10.0.1
hooks:
- id: shellcheck
exclude: |
(?x)^(
config\/zsh\/.*|
home/\.zshenv
)$