2019-11-21 23:30:19 +00:00
|
|
|
---
|
|
|
|
repos:
|
|
|
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
|
|
|
rev: v2.4.0
|
|
|
|
hooks:
|
|
|
|
- id: check-added-large-files
|
|
|
|
- id: check-yaml
|
|
|
|
args:
|
|
|
|
- --allow-multiple-documents
|
|
|
|
- id: trailing-whitespace
|
|
|
|
- id: end-of-file-fixer
|
|
|
|
- id: check-merge-conflict
|
|
|
|
- repo: git://github.com/dnephin/pre-commit-golang
|
|
|
|
rev: v0.3.5
|
|
|
|
hooks:
|
|
|
|
- id: go-fmt
|
|
|
|
- id: go-imports
|
|
|
|
# - id: gometalinter
|
|
|
|
# - id: golangci-lint
|
2020-07-15 00:29:54 +00:00
|
|
|
# - repo: https://github.com/IamTheFij/docker-pre-commit
|
|
|
|
# rev: v2.0.0
|
|
|
|
# hooks:
|
|
|
|
# - id: docker-compose-check
|
|
|
|
# - id: hadolint
|