golangci-lint logo

golangci-lint GolangCI

Use this command to install golangci-lint:
winget install --id=GolangCI.golangci-lint -e

golangci-lint is a fast Go linters runner. It runs linters in parallel, uses caching, supports YAML configuration, integrates with all major IDEs, and includes over a hundred linters.

golangci-lint is a fast Go linters runner designed to improve code quality and development efficiency. It executes linters in parallel, leverages caching for faster runs, supports YAML configuration for customization, integrates seamlessly with major IDEs, and includes over 100 built-in linters.

Key Features:

  • Parallel Execution: Runs linters simultaneously to speed up the linting process.
  • Caching: Reduces redundant work by storing results of unchanged code.
  • YAML Configuration: Allows users to customize which linters are enabled, their rules, and other settings.
  • IDE Integration: Works with popular IDEs like IntelliJ IDEA, VS Code, and others for a smooth development experience.
  • Extensive Linter Support: Ships with over 100 built-in linters covering code style, performance, security, and more.

Audience & Benefit:
Ideal for Go developers and teams aiming to maintain high-quality codebases efficiently. By automating linting during the development process, golangci-lint helps identify issues early, reduces technical debt, and accelerates development cycles. It can be installed via winget for easy setup on compatible systems.

This tool is essential for anyone looking to streamline their Go development workflow while ensuring code consistency and best practices.

README

golangci-lint

Fast linters runner for Go


golangci-lint is a fast Go linters runner.

It runs linters in parallel, uses caching, supports YAML configuration, integrates with all major IDEs, and includes over a hundred linters.

Install golangci-lint

Documentation

Documentation is hosted at https://golangci-lint.run.

Social Networks

Join Slack Follow on Mastodon Follow on Bluesky Follow on Twitter

Supporting Us

Open Collective backers and sponsors GitHub Sponsors Linter Authors

golangci-lint is a free and open-source project built by volunteers.

If you value it, consider supporting us, we appreciate it! :heart:

Badges

Build Status License Release Docker GitHub Releases Stats of golangci-lint

Contributors

This project exists thanks to all the people who contribute. How to contribute.

Sponsors

 

  <img src="assets/goland.svg" width="150" />
</picture>

Stargazers over time

Stargazers over time

Versions
2.1.6
2.1.5
2.1.2
2.1.1
2.0.2
1.64.5
1.63.4
1.62.2
1.59.1
1.59.0
Website
License