Add pre-commit
All checks were successful
Run tests / test (1.25) (push) Successful in 9s
Run tests / test (stable) (push) Successful in 11s

This commit is contained in:
2026-02-22 21:30:06 +01:00
parent 824bde5d55
commit aabfa853ec

12
.pre-commit-config.yaml Normal file
View File

@@ -0,0 +1,12 @@
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v6.0.0
hooks:
- id: check-yaml
- id: end-of-file-fixer
- id: trailing-whitespace
- repo: https://github.com/golangci/golangci-lint
rev: v2.10.1
hooks:
- id: golangci-lint