JOJ3/.pre-commit-config.yaml
张泊明518370910136 f6cbfa7973
All checks were successful
continuous-integration/drone/push Build is passing
chore: remove checkmake for windows support
2024-03-20 02:00:03 +08:00

25 lines
657 B
YAML

---
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.5.0
hooks:
- id: check-yaml
- id: end-of-file-fixer
- id: trailing-whitespace
- repo: https://github.com/jumanjihouse/pre-commit-hook-yamlfmt
rev: 0.2.3
hooks:
- id: yamlfmt
- repo: https://github.com/Bahjat/pre-commit-golang
rev: v1.0.2
hooks:
- id: gofumpt
- repo: https://github.com/dnephin/pre-commit-golang
rev: v0.5.1
hooks:
- id: go-fmt
- id: go-imports
- id: golangci-lint
- id: go-unit-tests
- id: go-mod-tidy