From 3143ccb8556f9cce76852dd81c2e4efa84d3f0db Mon Sep 17 00:00:00 2001 From: Uko Kokņevičs Date: Sat, 10 Jan 2026 16:34:31 +0200 Subject: Add a few more pre-commit hooks --- .pre-commit-config.yaml | 24 +++++++++++++++++++++--- 1 file changed, 21 insertions(+), 3 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 6ffb722..9e1b607 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -8,7 +8,25 @@ repos: - repo: https://github.com/pre-commit/pre-commit-hooks rev: v6.0.0 hooks: - - id: trailing-whitespace - - id: end-of-file-fixer - - id: check-yaml - id: check-added-large-files + - id: check-case-conflict + - id: check-executables-have-shebangs + - id: check-illegal-windows-names + - id: check-json + - id: check-merge-conflict + - id: check-shebang-scripts-are-executable + - id: check-symlinks + - id: check-toml + - id: check-xml + - id: check-yaml + - id: destroyed-symlinks + - id: detect-private-key + - id: end-of-file-fixer + - id: fix-byte-order-marker + - id: mixed-line-ending + exclude: ^mvnw.cmd$ + args: [--fix=lf] + - id: pretty-format-json + args: [--autofix] + - id: trailing-whitespace + args: [--markdown-linebreak-ext=md] -- cgit v1.2.3