golangci-lint
golangci-lint.run
- Free plan
- Windows
- macOS
- Linux
- Self-hosted
What golangci-lint is
golangci-lint is a free runner for Go linters that runs them in parallel, uses caching, accepts YAML configuration, and includes over a hundred linters. It documents installation on Linux, macOS, and Windows, as well as through Docker. Output options include text, JSON, tab, HTML, Checkstyle, Code Climate, JUnit-XML, TeamCity, and SARIF. Listed editor integrations include GoLand, Visual Studio Code, GNU Emacs, Vim, the Language Server Protocol, and Sublime Text. For CI, the project recommends its GitHub Action and documents integrations for GitLab CI and Buildkite. Its FAQ says it supports the two latest minor Go versions, with the additional restriction that a supported version cannot be newer than the Go version used to compile golangci-lint. The project recommends installing a specific version in CI to help keep builds reproducible. It favors binary installation and says several source-oriented installation methods are not guaranteed to work. Default settings are tuned to reduce false positives.
Who it suits
golangci-lint suits Go developers who want to run multiple linters, configure analysis in YAML, and use the results in editors or CI. Teams should check its Go version limits and installation guidance before adopting it.
Good to know, and what to watch
- Runs linters in parallel and uses caching.
- Includes over a hundred linters.
- Offers multiple structured output formats.
- Documents editor and CI integrations.
- Default settings are tuned to reduce false positives.
- Supports only the two latest minor Go versions, subject to a compile-version limit.
- Several source installation methods are not guaranteed to work.
- Specific version installation is recommended in CI.
Plans
Every plan and priceFree and open-source
Free plan
The verdict
golangci-lint brings many Go linters together with caching, configurable output, and integrations for editors and CI. Follow its version and installation guidance to avoid compatibility and reproducibility surprises.
What the maker publishes
- CI
- The project recommends its GitHub Action for GitHub CI and documents integrations for GitLab CI and Buildkite. source
- CI versioning
- The project recommends installing a specific golangci-lint version in CI to help keep builds reproducible. source
- Configuration
- Golangci-lint supports YAML configuration. source
- Editors
- The documentation lists integrations for GoLand, Visual Studio Code, GNU Emacs, Vim, the Language Server Protocol, and Sublime Text. source
- False positives
- The default settings are tuned to minimize false positives. source
- Installation
- The project documents binary and package manager installation on Linux, macOS, and Windows, as well as Docker installation. source
- Outputs
- It supports text, JSON, tab, HTML, Checkstyle, Code Climate, JUnit-XML, TeamCity, and SARIF output formats. source
- Performance
- The project says it runs linters in parallel and reuses the Go build cache and its own analysis cache. source
- Purpose
- Golangci-lint is a fast linter runner for Go that runs linters in parallel, uses caching, supports YAML configuration, and includes over a hundred linters. source
- Source installation
- The project recommends binary installation and says go install, go get, tools pattern, and tool command or directive installations are not guaranteed to work. source
- Support
- The project is built by volunteers and accepts support through GitHub Sponsors, Open Collective, and Thanks.dev. source
- Supported Go versions
- The FAQ says it supports the two latest minor Go versions and versions no newer than the Go version used to compile golangci-lint. source
Checked against the maker's pages on 30 Sept 2026.