summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Uko Kokņevičs2026-01-10 16:34:31 +0200
committerGravatar Uko Kokņevičs2026-01-10 16:34:31 +0200
commit3143ccb8556f9cce76852dd81c2e4efa84d3f0db (patch)
treebfb9f15e1fb5d3a0aa7d41b3cf44fb0968e97e08
parentpre-commit: Update pre-commit-hooks (diff)
downloadlv.enes:parent-3143ccb8556f9cce76852dd81c2e4efa84d3f0db.tar.gz
lv.enes:parent-3143ccb8556f9cce76852dd81c2e4efa84d3f0db.tar.xz
lv.enes:parent-3143ccb8556f9cce76852dd81c2e4efa84d3f0db.zip
Add a few more pre-commit hooks
-rw-r--r--.pre-commit-config.yaml24
1 files 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:
8- repo: https://github.com/pre-commit/pre-commit-hooks 8- repo: https://github.com/pre-commit/pre-commit-hooks
9 rev: v6.0.0 9 rev: v6.0.0
10 hooks: 10 hooks:
11 - id: trailing-whitespace
12 - id: end-of-file-fixer
13 - id: check-yaml
14 - id: check-added-large-files 11 - id: check-added-large-files
12 - id: check-case-conflict
13 - id: check-executables-have-shebangs
14 - id: check-illegal-windows-names
15 - id: check-json
16 - id: check-merge-conflict
17 - id: check-shebang-scripts-are-executable
18 - id: check-symlinks
19 - id: check-toml
20 - id: check-xml
21 - id: check-yaml
22 - id: destroyed-symlinks
23 - id: detect-private-key
24 - id: end-of-file-fixer
25 - id: fix-byte-order-marker
26 - id: mixed-line-ending
27 exclude: ^mvnw.cmd$
28 args: [--fix=lf]
29 - id: pretty-format-json
30 args: [--autofix]
31 - id: trailing-whitespace
32 args: [--markdown-linebreak-ext=md]