repos: - repo: https://github.com/pre-commit/pre-commit-hooks rev: v2.3.0 hooks: - id: check-merge-conflict - id: end-of-file-fixer - id: trailing-whitespace - repo: https://github.com/Lucas-C/pre-commit-hooks rev: v1.1.6 hooks: - id: remove-crlf - repo: https://github.com/dnephin/pre-commit-golang rev: v0.3.4 hooks: - id: go-fmt - id: go-vet - id: go-build - id: go-unit-tests exclude: vendor