Skip to content

andrewerickson/pre-commit-golang

 
 

Repository files navigation

pre-commit-golang

golang hooks for http://pre-commit.com/

Using these hooks

Add this to your .pre-commit-config.yaml

- repo: git://github.com/dnephin/pre-commit-golang
  sha: HEAD
  hooks:
    - id: go-fmt
    - id: go-vet
    - id: go-lint
    - id: validate-toml
    - id: no-go-testing
    - id: gometalinter

Available hooks

About

Golang hooks for pre-commit

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Shell 100.0%