
RuboCop
The facts below are what the maker publishes about RuboCop, checked and dated. Our editors have not written about it yet.
Plans and prices
From RuboCop's own pricing page, checked 10 Oct 2001.
| Plan | Price | What it gives you |
|---|---|---|
| RuboCop | Free | Free software; Ruby code analysis and formatting |
The facts
Each one read from RuboCop's own pages, with the date it was checked.
What it does
- Autocorrection
- RuboCop can automatically fix many reported problems, with separate options for safe and potentially behavior-changing corrections.checked 10 Oct 2001
- Checks
- Its cops check for bugs, style, layout, naming, complexity, and security issues.checked 10 Oct 2001
- CI and code scanning
- GitHub-formatted output can annotate pull requests, SARIF can feed code scanning, and JUnit output can be used by CI.checked 10 Oct 2001
- Coding agents
- RuboCop supports inspection and autocorrection for coding agents over the Model Context Protocol.checked 10 Oct 2001
- Customization
- Teams can configure cop styles in a .rubocop.yml file and inherit settings from a shared configuration.checked 10 Oct 2001
- Editors
- The built-in language server provides offenses while typing and format-on-save in VS Code, RubyMine, Emacs, Neovim, Helix, and Zed.checked 10 Oct 2001
- Existing codebases
- The --auto-gen-config command records existing offenses in .rubocop_todo.yml so teams can address legacy issues over time.checked 10 Oct 2001
- History
- The homepage says RuboCop began in April 2012 and identifies Bozhidar Batsov as its originator.checked 10 Oct 2001
- Installation
- RuboCop can be installed with gem install rubocop or added to a Bundler Gemfile as a standalone tool.checked 10 Oct 2001
- Maintainers
- The homepage describes RuboCop as free and maintained by a small core team of volunteers with help from thousands of contributors.checked 10 Oct 2001
- Plugins
- Plugins extend RuboCop for frameworks and libraries, and the project lists maintained plugins for Rails, RSpec, Minitest, Capybara, and others.checked 10 Oct 2001
- Purpose
- RuboCop is a Ruby static code analyzer and formatter based on the community Ruby Style Guide.checked 10 Oct 2001
- Runtime support
- The repository README says RuboCop officially supports MRI Ruby 2.7 and later and JRuby 9.4 and later, and targets Ruby 2.0 and later for code analysis.checked 10 Oct 2001
- Security disclosure
- The project repository links to a security policy, but the opened pages do not state a security certification or compliance standard.checked 10 Oct 2001
- Selective inspection
- The --changed option limits inspection to files that Git reports as changed.checked 10 Oct 2001
The company
- Founded
- 2012checked 28 Sep 2001
Alternatives to RuboCop
- 1
Flake8
Free planOpen sourceAPILinuxmacOSSelf-hosted7.3Free plan - 2
PMD
Free planLinuxmacOSSelf-hostedWindows6.8Free plan - 3
SwiftLint
Free planLinuxmacOSWindows6.6Free plan - 4

Ruff
Free planWebLinuxmacOSSelf-hosted6.5Free plan - 5

Biome
Free planWebExtensionLinuxmacOS6.4Free plan - 6

Cppcheck
Free planLinuxmacOSSelf-hostedWindows6.4Free plan
