nurse/.pre-commit-config.yaml

21 lines
503 B
YAML
Raw Normal View History

2022-04-28 16:35:02 +00:00
# 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