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.
123 Subscribers
View all SubscribersAdd a CodeTriage badge to rubocop
Help out
- Issues
- Fix an infinite loop for `Layout/EmptyLinesAroundAccessModifier` with a trailing blank line
- Fix an infinite loop for `Layout/HeredocArgumentClosingParenthesis` with code after a nested heredoc call
- Skip a Style/NumericLiterals example on Prism 1
- Fix an incorrect autocorrect for `Style/EndlessMethod` with a command body in a hash value or array element
- Fix an incorrect autocorrect for `Style/EndlessMethod` with cops splitting the body into several statements
- Move off the parser gem and onto Prism natively
- Fix an incorrect autocorrect for `Style/SingleLineDoEndBlock` with a heredoc in the method call
- Support the experimental prism parser engine
- Fix an incorrect autocorrect for `Style/RedundantPercentQ` with an escaped double quote
- Fix an incorrect autocorrect for `Lint/AmbiguousRegexpLiteral` with a safe navigation call in an argument
- Docs
- RuboCop::Cop::Rails::HttpStatus::SymbolicStyleChecker#symbol
- RuboCop::Cop::Rails::HttpStatus::SymbolicStyleChecker#preferred_style
- RuboCop::Cop::Rails::HttpStatus::SymbolicStyleChecker#message
- RuboCop::Cop::Rails::HttpStatus::SymbolicStyleChecker#offensive?
- RuboCop::Cop::Rails::HttpStatus::SymbolicStyleChecker#initialize
- RuboCop::Cop::Rails::HttpStatus::SymbolicStyleChecker#node
- RuboCop::Cop::Rails::HttpStatus#checker_class
- RuboCop::Cop::Rails::HttpStatus#autocorrect
- RuboCop::Cop::Rails::HttpStatus#support_autocorrect?
- RuboCop::Cop::Rails::HttpStatus#on_send