revive
revive.run
Spec sheet
- What it does
- Revive is a fast, configurable, extensible linter for Go.Read 9 Oct 2026 · revive.run
- Purpose
- Revive is a fast, configurable, extensible linter for Go and a drop-in replacement for golint.Read 9 Oct 2026 · revive.run
- License
- The repository lists the project license as MIT.Read 9 Oct 2026 · github.com
- CI integrations
- The documentation describes a GitHub Action with annotation support and use through golangci-lint and MegaLinter.Read 9 Oct 2026 · revive.run
- Configuration
- Rules can be enabled, disabled, and configured in a TOML file, including per-rule severity and exit codes.Read 9 Oct 2026 · revive.run
- Custom extensions
- Users can extend Revive with custom rules or formatters, or use it as a linting library.Read 9 Oct 2026 · revive.run
- Editor and CI integrations
- The documentation describes use with VSCode, GoLand, vim, GitHub Actions, golangci-lint, and MegaLinter.Read 9 Oct 2026 · revive.run
- Editor support
- The documentation describes editor support for VS Code, GoLand, and Vim.Read 9 Oct 2026 · revive.run
- Formatters
- Built-in output formatters include friendly, stylish, plain, unix, JSON, NDJSON, checkstyle, and SARIF.Read 9 Oct 2026 · revive.run
- Inline control
- Comments can disable a rule or the whole linter for a file or range of lines.Read 9 Oct 2026 · revive.run
- Inline controls
- Comments can disable a rule or the whole linter for a file or a range of lines.Read 9 Oct 2026 · revive.run
- Installation
- The documentation describes installation with Homebrew, from Go source, with Docker, or as a precompiled binary.Read 9 Oct 2026 · revive.run
- Library use
- Revive can be used as a library in another library or command-line application.Read 9 Oct 2026 · revive.run
- Output formats
- Built-in formatters include friendly, stylish, plain, unix, JSON, NDJSON, checkstyle, and SARIF.Read 9 Oct 2026 · revive.run
- Rule coverage
- Its 100+ rules cover style and naming, complexity, errors, and Go idioms.Read 9 Oct 2026 · revive.run
- Rules
- It offers more than 100 rules covering style and naming, complexity, errors, and Go idioms.Read 9 Oct 2026 · revive.run
- Security and compliance
- The opened official pages do not state security certifications or compliance claims.Read 9 Oct 2026 · revive.run
- Speed
- The documentation says Revive is 2× faster than golint when running the same rules, and over 6× faster when type checking is disabled where rules allow it.Read 9 Oct 2026 · revive.run
- Type checking limitation
- Rules that use type checking depend on GOROOT and GOPATH, and the documentation warns they may not work as expected in some build or GitHub Actions setups.Read 9 Oct 2026 · revive.run
- Who it is for
- The project is intended for Go codebases and documents use in projects including TiDB, Grafana, etcd, and Gitea.Read 9 Oct 2026 · revive.run
Where Specifiction places it
- Linters#32 of 336.8