Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add golangci-lint #10

Open
fproulx-boostsecurity opened this issue Feb 21, 2024 · 0 comments
Open

Add golangci-lint #10

fproulx-boostsecurity opened this issue Feb 21, 2024 · 0 comments
Labels

Comments

@fproulx-boostsecurity
Copy link
Contributor

fproulx-boostsecurity commented Feb 21, 2024

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

.golangci.yml
.golangci.yaml
.golangci.toml
.golangci.json

Dangerous options

modules-download-mode: mod or modules-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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant