Last active
December 6, 2022 03:14
-
-
Save MicahParks/dc84167e50b29f1dbe8385d8130d27ca to your computer and use it in GitHub Desktop.
Golang linting one liner
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
go install github.com/mgechev/revive@latest && go install honnef.co/go/tools/cmd/staticcheck@latest && go install github.com/golangci/golangci-lint/cmd/golangci-lint@latest && echo 'Output for "go vet ./...":' && go vet ./... || true && echo 'Output for "staticcheck ./...":' && staticcheck ./... || true && echo 'Output for "revive ./...":' && revive ./... || true && echo 'Output for "golangci-lint run":' && golangci-lint run |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment