Add -w flag to goimports in pre-commit

This commit is contained in:
Tulir Asokan 2024-04-11 17:27:02 +03:00
parent 2224f17dfd
commit db6e6d7dd3
1 changed files with 1 additions and 0 deletions

View File

@ -12,6 +12,7 @@ repos:
rev: v1.0.0-rc.1
hooks:
- id: go-imports-repo
args: ["-w"]
- id: go-vet-repo-mod
- repo: https://github.com/beeper/pre-commit-go