--- repos: - repo: https://github.com/pre-commit/pre-commit-hooks rev: v4.1.0 hooks: - id: check-added-large-files - id: trailing-whitespace - id: end-of-file-fixer - id: check-merge-conflict - repo: https://github.com/dnephin/pre-commit-golang rev: v0.4.0 hooks: - id: go-fmt - id: go-imports - id: golangci-lint