commands.sh

golangci-lint

all

Parallelized, smart, and fast Go linters runner that integrates with all major IDEs and supports YAML configuration.

More info →

Options (1)

-E, --enableboolean

Enable a specific linter for this run

Example: golangci-lint run {{[-E|--enable]}} {{linter}}

Examples (3)

Run linters in the current folder

List enabled and disabled linters (Note: Disabled linters are shown last, do not mistake them for enabled ones)

Enable a specific linter for this run

golangci-lint run [-E|--enable] linter
made by @shridhargupta | data from tldr-pages