github rubocop/rubocop v1.10.0
RuboCop 1.10

latest releases: v1.63.5, v1.63.3, v1.63.4...
3 years ago

New features

  • #9478: Add new Style/HashConversion cop. (@zverok)
  • #9496: Add new Gemspec/DateAssignment cop. (@koic)
  • #8724: Add IgnoreModules configuration to Style/ConstantVisibility to not register offense for module definitions. (@tejasbubane)
  • #9403: Add autocorrect for Style/EvalWithLocation cop. (@cteece)

Bug fixes

  • #9500: Update Lint/Debugger so that only specific receivers for debug methods lead to offenses. (@dvandersluis)
  • #9499: Fix a false positive for Layout/SpaceBeforeBrackets when multiple spaces are inserted inside the left bracket. (@koic)
  • #9507: Fix an incorrect auto-correct for Lint/RedundantSplatExpansion when expanding Array.new call on method argument. (@koic)
  • #9490: Fix incorrect auto-correct for Layout/FirstArgumentIndentation when specifying EnforcedStyle: with_fixed_indentation of Layout/ArgumentAlignment and EnforcedStyle: consistent of Layout/FirstArgumentIndentation. (@koic)
  • #9497: Fix an error for Style/ExplicitBlockArgument when yield is inside block of super. (@koic)
  • #9349: Fix a false positive for Lint/MultipleComparison when using &, |, and ^ set operation operators in multiple comparison. (@koic)
  • #9511: Fix a false negative for Lint/ElseLayout when using multiple elsifs. (@koic)
  • #9513: Fix an incorrect auto-correct for Style/HashConversion when using hash argument Hash[]. (@koic)
  • #9492: Fix an incorrect auto-correct for Lint/DeprecatedOpenSSLConstant when using no argument algorithm. (@koic)

Changes

Don't miss a new rubocop release

NewReleases is sending notifications on new releases.