In order to use zconfigcheck
with golangci-lint
, you will need
to use the golangci-lint custom
command as explained here.
You can use the reference custom modules configuration file for your integration.
We also provide an example linter settings file with some suggested configuration parameters.
Once all configuration files are in place, you can run the command:
$ golangci-lint custom
This will produce a new custom-gcl
binary which supports the zconfigcheck
custom linter.
You can verify this by running:
$ ./custom-gcl linters | grep zconfigcheck