Skip to content

Commit c399be2

Browse files
Autofix lint when we can (#99)
## Summary: This is mostly useful for gofumpt, although a few other linters may support it. Anyway, we may as well. ## Test plan: make lint Author: benjaminjkraft Reviewers: dnerdy, StevenACoffman Required Reviewers: Approved By: dnerdy, StevenACoffman Checks: ✅ Test (1.17), ✅ Test (1.16), ✅ Test (1.15), ✅ Test (1.14), ✅ Lint, ✅ Test (1.17), ✅ Test (1.16), ✅ Test (1.15), ✅ Test (1.14), ✅ Lint Pull Request URL: #99
1 parent fcae8dd commit c399be2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ example:
44

55
lint:
66
( cd internal/lint && go build -o golangci-lint github.com/golangci/golangci-lint/cmd/golangci-lint )
7-
internal/lint/golangci-lint run ./...
7+
internal/lint/golangci-lint run ./... --fix
88

99
check: lint
1010
go test -cover ./...

0 commit comments

Comments
 (0)