Currently, the Makefile passes -e gosec to golangci-lint. However, this should be -E gosec or --enable gosec, as the lower-case e option is for excluding identified issues by regex.
Also consider enabling the errorlint, gofmt, gomnd, and unconvert linters.
Currently, the Makefile passes
-e gosec
togolangci-lint
. However, this should be-E gosec
or--enable gosec
, as the lower-case e option is for excluding identified issues by regex.Also consider enabling the
errorlint
,gofmt
,gomnd
, andunconvert
linters.