2019-11-21 23:30:19 +00:00
|
|
|
---
|
|
|
|
repos:
|
|
|
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
2021-05-11 04:00:58 +00:00
|
|
|
rev: v3.4.0
|
2019-11-21 23:30:19 +00:00
|
|
|
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
|
2021-12-01 22:47:58 +00:00
|
|
|
- repo: https://github.com/golangci/golangci-lint
|
|
|
|
rev: v1.42.1
|
|
|
|
hooks:
|
|
|
|
- id: golangci-lint
|
2019-11-21 23:30:19 +00:00
|
|
|
- repo: git://github.com/dnephin/pre-commit-golang
|
2021-05-11 04:00:58 +00:00
|
|
|
rev: v0.4.0
|
2019-11-21 23:30:19 +00:00
|
|
|
hooks:
|
|
|
|
- id: go-fmt
|
|
|
|
- id: go-imports
|
2021-05-11 04:52:38 +00:00
|
|
|
- repo: https://github.com/hadolint/hadolint
|
|
|
|
rev: v2.4.0
|
|
|
|
hooks:
|
|
|
|
- id: hadolint
|