Add pre-commit
Some checks failed
Run tests / test (1.25) (push) Failing after 21s
Run tests / test (stable) (push) Failing after 23s

This commit is contained in:
2026-02-22 21:29:37 +01:00
parent e65408ab07
commit 2c6b739f9b

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