gems rubocop 1.38.0
RuboCop 1.38

latest releases: 1.68.0, 1.67.0, 1.66.1...
2 years ago

New features

Bug fixes

  • #11125: Fix an error for Layout/SpaceInsideHashLiteralBraces when using method argument that both key and value are hash literals. (@koic)
  • #11132: Fix clobbering error on Lint/EmptyConditionalBody. (@r7kamura)
  • #11117: Fix a false positive for Style/BlockDelimiters when specifying EnforcedStyle: semantic and using a single line block with {} followed by a safe navigation method call. (@koic)
  • #11120: Fix an incorrect autocorrect for Lint/RedundantRequireStatement when using redundant require with modifier form. (@koic)

Changes

  • #11131: Check newline in empty reference bracket on Layout/SpaceInsideReferenceBrackets. (@r7kamura)
  • #11045: Update the Style/ModuleFunction documentation to suggest class << self as an alternative. (@rdeckard)
  • #11006: Allow multiple elsif for Style/IfWithBooleanLiteralBranches. (@koic)
  • #11113: Report the count of files in the Worst and the Offense Count formatters. (@hosamaly)

Don't miss a new rubocop release

NewReleases is sending notifications on new releases.