.pre-commit-config.yaml
raw| 1 | repos: |
| 2 | - repo: https://github.com/pre-commit/pre-commit-hooks |
| 3 | rev: v4.3.0 |
| 4 | hooks: |
| 5 | - id: trailing-whitespace |
| 6 | - id: end-of-file-fixer |
| 7 | - id: check-added-large-files |
| 8 | |
| 9 | - repo: https://github.com/dnephin/pre-commit-golang |
| 10 | rev: master |
| 11 | hooks: |
| 12 | - id: go-fmt |
| 13 | #- id: go-vet |
| 14 | #- id: go-imports |
| 15 | #- id: golangci-lint |
| 16 | #- id: go-critic |
| 17 | #- id: go-unit-tests |
| 18 | - id: go-build |
| 19 | - id: go-mod-tidy |