repos: - repo: https://github.com/pre-commit/pre-commit-hooks rev: v2.1.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.2 hooks: - id: go-fmt