
revive
The facts below are what the maker publishes about revive, checked and dated. Our editors have not written about it yet.
The facts
Each one read from revive's own pages, with the date it was checked.
What it does
- CI integrations
- The documentation describes a GitHub Action with annotation support and use through golangci-lint and MegaLinter.checked 9 Oct 2026
- Configuration
- Rules can be enabled, disabled, and configured in a TOML file, including per-rule severity and exit codes.checked 9 Oct 2026
- Custom extensions
- Users can extend Revive with custom rules or formatters, or use it as a linting library.checked 9 Oct 2026
- Editor and CI integrations
- The documentation describes use with VSCode, GoLand, vim, GitHub Actions, golangci-lint, and MegaLinter.checked 9 Oct 2026
- Editor support
- The documentation describes editor support for VS Code, GoLand, and Vim.checked 9 Oct 2026
- Formatters
- Built-in output formatters include friendly, stylish, plain, unix, JSON, NDJSON, checkstyle, and SARIF.checked 9 Oct 2026
- Inline control
- Comments can disable a rule or the whole linter for a file or range of lines.checked 9 Oct 2026
- Inline controls
- Comments can disable a rule or the whole linter for a file or a range of lines.checked 9 Oct 2026
- Installation
- The documentation describes installation with Homebrew, from Go source, with Docker, or as a precompiled binary.checked 9 Oct 2026
- Library use
- Revive can be used as a library in another library or command-line application.checked 9 Oct 2026
- License
- The repository lists the project license as MIT.checked 9 Oct 2026
- Output formats
- Built-in formatters include friendly, stylish, plain, unix, JSON, NDJSON, checkstyle, and SARIF.checked 9 Oct 2026
- Purpose
- Revive is a fast, configurable, extensible linter for Go and a drop-in replacement for golint.checked 9 Oct 2026
- Rule coverage
- Its 100+ rules cover style and naming, complexity, errors, and Go idioms.checked 9 Oct 2026
- Rules
- It offers more than 100 rules covering style and naming, complexity, errors, and Go idioms.checked 9 Oct 2026
- Security and compliance
- The opened official pages do not state security certifications or compliance claims.checked 9 Oct 2026
- 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.checked 9 Oct 2026
- 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.checked 9 Oct 2026
- What it does
- Revive is a fast, configurable, extensible linter for Go.checked 9 Oct 2026
- Who it is for
- The project is intended for Go codebases and documents use in projects including TiDB, Grafana, etcd, and Gitea.checked 9 Oct 2026
Alternatives to revive
- 1

Cppcheck
Free planOpen sourceLinuxmacOSSelf-hostedWindows7.4Free plan - 2
JSHint
Free planOpen sourceWebAPIExtensionLinux7.4Free plan - 3
Flake8
Free planOpen sourceAPILinuxmacOSSelf-hosted7.3Free plan - 4
PMD
Free planLinuxmacOSSelf-hostedWindows6.8Free plan - 5
SwiftLint
Free planLinuxmacOSWindows6.6Free plan - 6

Ruff
Free planWebLinuxmacOSSelf-hosted6.5Free plan
