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: https://github.com/Khan/genqlient/pull/99
This commit is contained in:
Ben Kraft
2021-09-16 09:06:14 -07:00
committed by GitHub
parent fcae8dd1d7
commit c399be2792
+1 -1
View File
@@ -4,7 +4,7 @@ example:
lint: lint:
( cd internal/lint && go build -o golangci-lint github.com/golangci/golangci-lint/cmd/golangci-lint ) ( cd internal/lint && go build -o golangci-lint github.com/golangci/golangci-lint/cmd/golangci-lint )
internal/lint/golangci-lint run ./... internal/lint/golangci-lint run ./... --fix
check: lint check: lint
go test -cover ./... go test -cover ./...