go-critic
« Back to VersTracker
Description:
Opinionated Go source code linter
Type: Formula  |  Latest Version: 0.14.2@0  |  Tracked Since: Oct 30, 2025
Links: Homepage  |  formulae.brew.sh
Category: Developer tools
Tags: linter go static-analysis code-quality developer-tools
Install: brew install go-critic
About:
go-critic is a fast and flexible source code linter for Go that provides diagnostics for various code issues. It offers a rich set of checks covering style, performance, and correctness problems. The tool is highly configurable, allowing teams to enable or disable specific rules to match their coding standards.
Key Features:
  • Extensive rule set covering style and performance
  • Highly configurable via flags and configuration files
  • Fast execution suitable for CI/CD pipelines
  • Provides detailed diagnostic messages
Use Cases:
  • Enforcing consistent coding standards across a Go project
  • Identifying performance bottlenecks and anti-patterns in code reviews
  • Integrating static analysis into automated build pipelines
Alternatives:
  • staticcheck – More focused on correctness and bugs, whereas go-critic offers more stylistic and opinionated checks.
  • golangci-lint – A meta-linter that runs multiple tools including go-critic, providing a broader analysis suite.
Version History
Detected Version Rev Change Commit
Oct 30, 2025 5:02pm 0 VERSION_BUMP 8f262c07
Sep 11, 2025 11:43am 0 VERSION_BUMP 928703e6
Oct 8, 2024 9:33am 0 VERSION_BUMP 1bcaa837