Skip to content

Commit

Permalink
chore: update pre-commit hooks
Browse files Browse the repository at this point in the history
Add a few basic pre-commit hooks from pre-commit's base set of hooks.

Signed-off-by: JP-Ellis <[email protected]>
  • Loading branch information
JP-Ellis committed Jan 23, 2025
1 parent f3942f0 commit ded5bc8
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,25 +5,23 @@ default_install_hook_types:
- pre-push

repos:
# Generic hooks that apply to a lot of files
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v5.0.0
hooks:
- id: check-added-large-files
- id: check-case-conflict
- id: check-executables-have-shebangs
- id: check-illegal-windows-names
- id: check-merge-conflict
- id: check-shebang-scripts-are-executable
- id: check-symlinks
- id: check-vcs-permalinks
- id: destroyed-symlinks
- id: end-of-file-fixer
- id: fix-byte-order-marker
- id: mixed-line-ending
- id: trailing-whitespace

# The following only check that the files are parseable and does _not_
# modify the formatting.
- id: check-toml
- id: check-xml

- repo: https://github.com/lyz-code/yamlfix/
rev: 1.17.0
hooks:
Expand Down

0 comments on commit ded5bc8

Please sign in to comment.