You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

.pre-commit-config.yaml 475B

1234567891011121314151617181920
  1. repos:
  2. - repo: https://github.com/pre-commit/pre-commit-hooks
  3. rev: v2.3.0
  4. hooks:
  5. - id: check-merge-conflict
  6. - id: end-of-file-fixer
  7. - id: trailing-whitespace
  8. - repo: https://github.com/Lucas-C/pre-commit-hooks
  9. rev: v1.1.6
  10. hooks:
  11. - id: remove-crlf
  12. - repo: https://github.com/dnephin/pre-commit-golang
  13. rev: v0.3.4
  14. hooks:
  15. - id: go-fmt
  16. - id: go-vet
  17. - id: go-build
  18. - id: go-unit-tests
  19. exclude: vendor