You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#3725: Disable Style/SingleLineBlockParams by default. (@tejasbubane)
#3765: Add a validation for supported styles other than EnforcedStyle. AlignWith, IndentWhenRelativeTo and EnforcedMode configurations are renamed. (@pocke)
#3782: Add check for add_reference method by Rails/NotNullColumn cop. (@pocke)
#3761: Update Style/RedundantFreeze message from Freezing immutable objects is pointless. to Do not freeze immutable objects, as freezing them has no effect.. (@lucasuyezu)
#3753: Change error message of Bundler/OrderedGems to mention Alphabetize Gems. (@tejasbubane)
Add missing examples in Lint cops documentation. (@enriikke)
Make Style/EmptyMethod cop aware of class methods. (@drenmi)
#3871: Add check for void defined? and self by Lint/Void cop. (@pocke)
Bug fixes
#3751: Avoid crash in Rails/EnumUniqueness cop. (@pocke)
#3766: Avoid crash in Style/ConditionalAssignment cop with masgn. (@pocke)
#3770: Style/RedundantParentheses Don't flag raised to a power negative numeric literals, since removing the parentheses would change the meaning of the expressions. (@amogil)
#3750: Register an offense in Style/ConditionalAssignment when the assignment spans multiple lines. (@rrosenblum)
#3775: Avoid crash in Style/HashSyntax cop with an empty hash. (@pocke)
#3783: Maintain parentheses in Rails/HttpPositionalArguments when methods are defined with them. (@kevindew)
#3786: Avoid crash Style/ConditionalAssignment cop with mass assign method. (@pocke)
#3788: Prevent bad auto-correct in Style/Next when block has nested conditionals. (@drenmi)
#3807: Prevent Style/Documentation and Style/DocumentationMethod from mistaking RuboCop directives for class documentation. (@drenmi)
#3815: Fix false positive in Style/IdenticalConditionalBranches cop when branches have same line at leading. (@pocke)
Fix false negative in Rails/HttpPositionalArguments where offense would go undetected if one of the request parameter names matched one of the special keyword arguments. (@deivid-rodriguez)
Fix false negative in Rails/HttpPositionalArguments where offense would go undetected if the :format keyword was used with other non-special keywords. (@deivid-rodriguez)
#3406: Enable cops if Enabled is not explicitly set to false. (@metcalf)
Fix Lint/FormatParameterMismatch for splatted last argument. (@zverok)
#3853: Fix false positive in RedundantParentheses cop with multiple expression. (@pocke)
#3870: Avoid crash in Rails/HttpPositionalArguments. (@pocke)
#3869: Prevent Lint/FormatParameterMismatch from breaking when #% is passed an empty array. (@drenmi)
#3879: Properly handle Emacs and Vim magic comments for FrozenStringLiteralComment. (@backus)
#3736: Fix to remove accumulator return value by auto-correction in Style/EachWithObject. (@pocke)