Skip to content

Commit

Permalink
Add -w flag to goimports in pre-commit
Browse files Browse the repository at this point in the history
  • Loading branch information
tulir committed Apr 11, 2024
1 parent 2224f17 commit db6e6d7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit db6e6d7

Please sign in to comment.