19 lines
431 B
YAML
19 lines
431 B
YAML
|
repos:
|
||
|
- repo: https://git.candidator.se/go/dev-tools/pre-commit-golang.git
|
||
|
rev: f898003d6bfc677c18ee10210eb663fa5394cfb5
|
||
|
hooks:
|
||
|
- id: go-fmt
|
||
|
- id: go-vet
|
||
|
- id: go-staticcheck
|
||
|
- id: go-imports
|
||
|
- id: go-cyclo
|
||
|
args: [-over=100]
|
||
|
- id: revive
|
||
|
- id: gosec
|
||
|
- id: validate-toml
|
||
|
- id: no-go-testing
|
||
|
# - id: golangci-lint
|
||
|
- id: go-critic
|
||
|
- id: go-unit-tests
|
||
|
- id: go-build
|