Back to Rubocop

V1.75.7

relnotes/v1.75.7.md

1.86.11.7 KB
Original Source

Bug fixes

  • #14185: Fix an error for Style/IfUnlessModifierOfIfUnless when using nested modifier. (@koic)
  • #14192: Fix negatives for Layout/SpaceBeforeBrackets when using space between method argument parentheses and left bracket. (@koic)
  • #14189: Fix incorrect autocorrect for Layout/SpaceBeforeBrackets when using space between receiver and left brackets, and a space inside left bracket. (@koic)
  • #14170: Fix Style/AccessModifierDeclarations cop error on semicolon after modifier. (@viralpraxis)
  • #14195: Fix Style/AccessModifierDeclarations cop error on symbol modifier without surrounding scope. (@viralpraxis)
  • #14172: Fix Style/AccessModifierDeclarations cop false positives when there are no method definitions and style is inline. (@viralpraxis)
  • #14193: Fix Lint/UselessAssignment cop error when using nested assignment with splat. (@earlopain)

Changes

  • #14188: Enhance Gemspec/DuplicatedAssignment cop to detect duplicated indexed assignment. (@viralpraxis)
  • #14183: Recognize prefix argument for delegate method in Lint/DuplicateMethods. (@lovro-bikic)