nurse/.pre-commit-config.yaml

20 lines
503 B
YAML

# See https://pre-commit.com for more information
# See https://pre-commit.com/hooks.html for more hooks
repos:
- repo: https://github.com/tekwizely/pre-commit-golang
rev: v1.0.0-beta.5
hooks:
- id: go-mod-tidy-repo
args:
- -go=1.18
- id: go-fumpt
args:
- -w
- id: go-imports
args:
- -local=gitlab.com/inetmock/inetmock
- -w
- id: golangci-lint-repo-mod
args:
- --fast
- --fix