rubocop
https://github.com/bbatsov/rubocop
Ruby
A Ruby static code analyzer, based on the community Ruby style guide.
Triage Issues!
When you volunteer to triage issues, you'll receive an email each day with a link to an open issue that needs help in this project. You'll also receive instructions on how to triage issues.
Triage Docs!
Receive a documented method or class from your favorite GitHub repos in your inbox every day. If you're really pro, receive undocumented methods or classes and supercharge your commit history.
124 Subscribers
View all SubscribersAdd a CodeTriage badge to rubocop
Help out
- Issues
- Fix Style/EmptyMethod loop with Style/SingleLineMethods
- Lint/NameTypo reports false-positives for Time.now with ProjectIndexIncludesGems: true
- [Fix #15131] Prefer direct bitwise predicate autocorrection
- Add autocorrection to Lint/CopDirectiveSyntax
- Allow Useless Numeric Operation if symmetrical
- Tuning RuboCop's defaults from real-world usage data (RuboCop 2 discussion)
- Configurable exit codes
- Enabling `Layout/LineLength` results in unecessary corrections
- [Fix #7201] Add style guide URL to JSON offenses
- Classic Sunday: Don't suggest intermediate fix that prompts another fix
- Docs
- RuboCop::Cop::Style::DisableCopsWithinSourceCodeDirective#listed?
- RuboCop::Cop::Style::DisableCopsWithinSourceCodeDirective#allow_with_reason?
- RuboCop::Cop::Style::DisableCopsWithinSourceCodeDirective#allowed_directives
- RuboCop::Cop::Style::DisableCopsWithinSourceCodeDirective#exempt_mode?
- RuboCop::Cop::Style::DisableCopsWithinSourceCodeDirective#ignored?
- RuboCop::Runner#finalize_corrections
- RuboCop::Runner#inspect_and_correct
- RuboCop::Runner#parallel_supported_by_options?
- RuboCop::Runner#only_changed
- RuboCop::Runner#diffs