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
- [Fix #14861] Fix an error in `Style/IfUnlessModifier`
- [Fix #14854] Fix a clobbering error in `Style/BlockDelimiters`
- Style/MethodDefParentheses does apply when there are special arguments such as `...` or `**kwargs`
- False negative on `Style/RedundantParentheses` for single condition in parentheses combined with &&
- Reduce precision in 'Finished in X.X seconds' message to 5 decimal places
- [Fix #14829] Allow classes without a superclass in `Style/EmptyClassDefinition`
- Infinite loop with `Layout/FirstHashElementIndentation`, `Layout/HashAlignment`, `Layout/ExtraSpacing`, `Layout/FirstArgumentIndentation`, `SpaceInsideParens` cops
- `Style/BlockDelimiters` crashes while inspecting file
- Infinite loop caused by `Layout/ArgumentAlignment`, `Layout/FirstArgumentIndentation`, `Layout/LineLength` cops
- Infinite loop caused by `Style/IfUnlessModifier`, `Layout/EndAlignment`, `Layout/IndentationWidth` cops
- Docs
- RuboCop::Cop::InternalAffairs::NodeFirstOrLastArgument#on_csend
- RuboCop::Cop::Layout::MultilineMethodArgumentLineBreaks#on_csend
- RuboCop::Cop::Lint::FloatComparison#on_csend
- RuboCop::Cop::Layout::MultilineMethodCallBraceLayout#on_csend
- RuboCop::DirectiveComment#raw_cop_names
- RuboCop::CLI::Command::ShowCops::WildcardMatcher#match?
- RuboCop::CLI::Command::ShowCops::WildcardMatcher#pattern
- RuboCop::CLI::Command::ShowCops::WildcardMatcher#pattern=
- RuboCop::CLI::Command::ShowCops::ExactMatcher#match?
- RuboCop::CLI::Command::ShowCops::ExactMatcher#pattern