Archived
1
0
Fork 0

Add pre-commit file

This commit is contained in:
Julien Riou 2019-03-08 18:31:17 +01:00
parent 9818566369
commit 0023bb52ef
No known key found for this signature in database
GPG key ID: BA3E15176E45E85D

10
.pre-commit-config.yaml Normal file
View file

@ -0,0 +1,10 @@
---
- repo: https://github.com/dnephin/pre-commit-golang
sha: master
hooks:
- id: go-fmt
- id: go-lint
- repo: https://github.com/adrienverge/yamllint
sha: master
hooks:
- id: yamllint