Running gosec linter across all packages in a directory #4224
Unanswered
tjlawrence
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I am finding that when I add gosec as a linter it only reports issues as if I'd run
gosec .
rather thangosec ./...
Is that correct?
It looks like golangci-lint runs
./..
by default - https://golangci-lint.run/usage/quick-start/#:~:text=golangci%2Dlint%20run%20./but gosec doesn't - https://github.com/securego/gosec#:~:text=To%20recursively%20scan%20from%20the%20current%20directory%20you%20can%20supply%20./...%20as%20the%20input%20argument ?
Thanks.
Beta Was this translation helpful? Give feedback.
All reactions