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 an incorrect autocorrect for `Style/IfUnlessModifier` with a parenthesized `next` value
- Fix an incorrect autocorrect for `Style/Lambda` with a lambda literal in a pattern
- Fix an incorrect autocorrect for `Style/IfUnlessModifier` with a heredoc nested in the body
- Fix an infinite loop for `Layout/FirstArgumentIndentation` with a method chain beginning its line
- Fix an infinite loop for `Layout/RedundantLineBreak` with offenses sharing a line
- Fix an infinite loop for `Layout/LineLength` with a string starting past the limit
- Fix an infinite loop for `Layout/SpaceInsideBlockBraces` with a comment after the left brace
- Fix an incorrect autocorrect for `Layout/ClassStructure` with `Layout/EmptyLinesAroundAccessModifier`
- Fix an infinite loop for `Layout/EmptyLineAfterMultilineCondition` with a body on the condition line
- Fix an incorrect autocorrect for `Style/LambdaCall` with a heredoc argument
- Docs
- RuboCop::Util.emulate_write_read_cycle
- RuboCop::Runner#plain_messages
- RuboCop::Runner#file_problems
- RuboCop::Runner#collect_problems
- RuboCop::Runner#offense_limit
- RuboCop::Runner#forget_mobilized_cops
- RuboCop::Cop::Base#disabled_autocorrect?
- RuboCop::MCP::Scope#validate
- RuboCop::MCP::Scope#select_files
- RuboCop::MCP::Scope#cop_options