Table of Contents
How to add a new open-source linter to golangci-lint
See there.
How to add a new private linter to golangci-lint
See there.
How to update an existing linter
Just update its version in go.mod
.
How to add a configuration option to an existing linter
Add a new field to the linter settings struct. Document it in .golangci.next.reference.yml. Pass it to the linter.