1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-06-09 11:46:01 +02:00
tldr/pages/common/golangci-lint.md
Managor 5305776d45
*: capitalize the first letter after "Note:" (#16226)
Co-authored-by: Machiavelli <145562237+MachiavelliII@users.noreply.github.com>
2025-05-04 05:15:17 +03:00

497 B

golangci-lint

Parallelized, smart and fast Go linters runner that integrates with all major IDEs and supports YAML configuration. More information: https://golangci-lint.run/welcome/quick-start/.

  • Run linters in the current folder:

golangci-lint run

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

golangci-lint linters

  • Enable a specific linter for this run:

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