golangci-lint-palantir
builds and publishes a custom build of golangci-lint
that include the following custom linters:
safelogging
: runs thesafelogging
linter to verify that unsafe values are not logged
This repository also publishes the configuration file at [pluginconfig/golangci.yml], which configures the following:
- Declares the
safelogging
linter as a module-based linter to make it available for use - Sets the enabled checks to be the golangci-lint defaults (minus staticheck), revive, and unconvert
- Configures the
revive
check to disable the check requiring package-level comments
The custom build of golangci-lint
is built using the godel-distgo-asset-dist-golangci-lint
dister.