Open fproulx-boostsecurity opened 9 months ago
golangci-lint is meta-linter tool for Golang that has tons of plugins that can be configured we a config file.
golangci-lint
.golangci.yml .golangci.yaml .golangci.toml .golangci.json
modules-download-mode: mod or modules-download-mode: vendor
modules-download-mode: mod
modules-download-mode: vendor
They support so many linters that I cannot imagine there are not many LOTP in the linters themselves.
https://golangci-lint.run/usage/configuration/
https://github.com/golangci/golangci-lint/blob/master/.golangci.yml
They have a popular GitHub Action https://github.com/golangci/golangci-lint-action
Description of the LOTP tool
golangci-lint
is meta-linter tool for Golang that has tons of plugins that can be configured we a config file.Configuration files
Dangerous options
modules-download-mode: mod
ormodules-download-mode: vendor
They support so many linters that I cannot imagine there are not many LOTP in the linters themselves.
Documentation
https://golangci-lint.run/usage/configuration/
Real-world example
https://github.com/golangci/golangci-lint/blob/master/.golangci.yml
Additional notes
They have a popular GitHub Action https://github.com/golangci/golangci-lint-action