.pre-commit-config.yaml 519 B

123456789101112131415161718
  1. # See https://pre-commit.com for more information
  2. # See https://pre-commit.com/hooks.html for more hooks
  3. repos:
  4. - repo: https://github.com/pre-commit/pre-commit-hooks
  5. rev: v6.0.0
  6. hooks:
  7. - id: trailing-whitespace
  8. - id: end-of-file-fixer
  9. - id: check-yaml
  10. - id: check-added-large-files
  11. - repo: https://github.com/dnephin/pre-commit-golang
  12. rev: v0.5.1
  13. hooks:
  14. - id: go-fmt
  15. - id: go-imports
  16. - id: no-go-testing
  17. - id: golangci-lint
  18. - id: go-unit-tests