staticcheck

Install command:
brew install staticcheck

State of the art linter for the Go programming language

https://staticcheck.dev/

License: MIT

Development: Pull requests

Formula JSON API: /api/formula/staticcheck.json

Formula code: staticcheck.rb on GitHub

Bottle (binary package) installation support provided for:

macOS on
Apple Silicon
tahoe
sequoia
sonoma
macOS on
Intel
sonoma
Linux ARM64
x86_64

Current versions:

stable 2026.1
head ⚡️ HEAD

Depends on:

go 1.26.0 Open source programming language to build simple/reliable/efficient software

Analytics:

Installs (30 days)
staticcheck 762
Installs on Request (30 days)
staticcheck 762
Build Errors (30 days)
staticcheck 0
Installs (90 days)
staticcheck 1,755
Installs on Request (90 days)
staticcheck 1,755
Installs (365 days)
staticcheck 6,198
staticcheck --HEAD 8
Installs on Request (365 days)
staticcheck 6,198
staticcheck --HEAD 8