dotfiles/.pre-commit-config.yaml
Fernando Schauenburg 154e9bf1b0 pre-commit: don't fix end-of-file for lazy-lock.json
This file is updated automatically by the plugin whenever
I install/update/uninstall plugins and a extra new line is always
appended.
2024-07-14 23:52:33 +02:00

26 lines
593 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
exclude: ^config\/nvim\/lazy-lock\.json$
- 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
)$