gems rubocop 1.22.2
RuboCop 1.22.2

latest releases: 1.66.1, 1.66.0, 1.65.1...
2 years ago

Bug fixes

  • #10165: Fix Layout/DotPosition false positives when the selector and receiver are on the same line. (@dvandersluis)
  • #10171: Fix Style/HashTransformKeys and Style/HashTransformValues incorrect auto-correction when inside block body. (@franzliedke)
  • #10180: Fix an error for Style/SelectByRegexp when using match? without a receiver. (@koic)
  • #10193: Fix an error for Layout/EmptyLinesAroundExceptionHandlingKeywords when begin and rescue are on the same line. (@koic)
  • #10185: Fix a false positive for Lint/AmbiguousRange when using self in a range literal. (@koic)
  • #10200: Fix an error when inspecting a directory named *. (@koic)
  • #10149: Fix Bundler/GemComment where it would not detect an offense in some cases when OnlyFor is set to restrictive_version_specifiers. (@Drowze)

Changes

  • #10157: Updated Gemspec/RequiredRubyVersion handle being set to blank values. (@dvandersluis)
  • #10176: Unmark AutoCorrect: false from Security/JSONLoad. (@koic)
  • #10186: Explicit block arg is not counted for Metrics/ParameterLists. (@koic)

Don't miss a new rubocop release

NewReleases is sending notifications on new releases.