Add pre-commit file
This commit is contained in:
parent
9818566369
commit
0023bb52ef
1 changed files with 10 additions and 0 deletions
10
.pre-commit-config.yaml
Normal file
10
.pre-commit-config.yaml
Normal 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
|
Reference in a new issue