Skip to content

Instantly share code, notes, and snippets.

@kszarek
Created January 20, 2020 18:08
Show Gist options
  • Save kszarek/8e0c10f88f1e975a85af39f92c1d64d8 to your computer and use it in GitHub Desktop.
Save kszarek/8e0c10f88f1e975a85af39f92c1d64d8 to your computer and use it in GitHub Desktop.
golangci-lint
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