Add a file .custom-gcl.yaml
to your source with
---
version: v1.62.0
plugins:
- module: fillmore-labs.com/zerolint-golangci-plugin
version: v0.0.6
then run golangci-lint custom
. You get an custom-gcl
executable that can be configured in .golangci.yaml
:
---
linters:
enable:
- zerolint
linters-settings:
custom:
zerolint:
type: "module"
settings:
basic: false
excluded: []
and can be used like golangci-lint
:
./custom-gcl run .
See also the golangci-lint module plugin system documentation.