Created
January 20, 2020 18:08
-
-
Save kszarek/8e0c10f88f1e975a85af39f92c1d64d8 to your computer and use it in GitHub Desktop.
golangci-lint
This file contains 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
golangci-lint run --disable-all \ | |
--enable=misspell \ | |
--enable=golint \ | |
--enable=govet \ | |
--enable=deadcode \ | |
--enable=goimports \ | |
--enable=errcheck \ | |
--enable=varcheck \ | |
--enable=unparam \ | |
--enable=ineffassign \ | |
--enable=nakedret \ | |
--enable=misspell \ | |
--enable=gocyclo \ | |
--enable=gosec \ | |
--deadline=5m \ | |
./pkg/... ./cmd/... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment