Skip to content

Commit

Permalink
add golang precommit
Browse files Browse the repository at this point in the history
  • Loading branch information
wuyi05 committed Jul 5, 2017
1 parent 9837896 commit 7364fcd
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,10 @@
sha: 28c0ea8a67a3e2dbbf4822ef44e85b63a0080a29
hooks:
- id: clang-formater
- repo: https://github.com/dnephin/pre-commit-golang
sha: e4693a4c282b4fc878eda172a929f7a6508e7d16
hooks:
- id: go-fmt
- id: go-vet
- id: go-lint
- id: gometalinter

0 comments on commit 7364fcd

Please sign in to comment.