rubocop
https://github.com/rubocop-hq/rubocop
Ruby
A Ruby static code analyzer and formatter, 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.
50 Subscribers
View all SubscribersAdd a CodeTriage badge to rubocop
Help out
- Issues
- `Layout/RedundantLineBreak` should have option to selectively apply
- Style/EmptyClassDefinition casts too wide of a net
- Add new cop `Style/SquigglyHeredoc`
- CI: Remove rspec4 job
- [Fix #14583] Aggregate template fragment autocorrections per iteration
- [Fix #14821] Fix `Style/IfInsideElse` autocorrect moving comments into wrong branch
- Extend InclusiveLanguage cop to cover speciesist terms
- [Fix #14835] Extend Lint/AmbiguousBlockAssociation for do...end block misassociation
- Fix false positive in `Lint/UselessConstantScoping` for files with multiple access modifiers preceding the constant
- Fix a false positive for Style/ModuleMemberExistenceCheck with non-constant receiver
- Docs
- RuboCop::Cop::Layout::SpaceInsidePercentLiteralDelimiters#body_range
- RuboCop::Cop::Layout::SpaceInsidePercentLiteralDelimiters#add_offenses_for_blank_spaces
- RuboCop::Cop::Style::IfWithBooleanLiteralBranches#multiple_elsif?
- RuboCop::Cop::SurroundingSpace#no_character_between?
- RuboCop::Cop::Registry#disabled
- RuboCop::CommentConfig#inject_disabled_cops_directives
- RuboCop::CommentConfig::ConfigDisabledCopDirectiveComment#initialize
- RuboCop::CommentConfig::ConfigDisabledCopDirectiveComment::Expression#line
- RuboCop::CommentConfig::ConfigDisabledCopDirectiveComment::Expression#line=
- RuboCop::CommentConfig::ConfigDisabledCopDirectiveComment::Loc#expression