gems rubocop 1.1.0
RuboCop 1.1

latest releases: 1.63.3, 1.63.2, 1.63.1...
3 years ago

New features

  • #8896: Add new Lint/DuplicateRegexpCharacterClassElement cop. (@owst)
  • #8895: Add new Lint/EmptyBlock cop. (@fatkodima)
  • #8934: Add new Style/SwapValues cop. (@fatkodima)
  • #7549: Add new Style/ArgumentsForwarding cop. (@koic)
  • #8859: Add new Lint/UnmodifiedReduceAccumulator cop. (@dvandersluis)
  • #8951: Support auto-correction for Style/MultipleComparison. (@koic)
  • #8953: Add AllowMethodComparison option for Lint/MultipleComparison. (@koic)
  • #8960: Add Regexp::Expression#loc and #expression to replace parsed_tree_expr_loc. (@marcandre)
  • #8930: Add rake tasks for alternative way to specify Changelog entries. (@marcandre)
  • #8940: Add new Style/DocumentDynamicEvalDefinition cop. (@fatkodima)
  • #7753: Add new Lint/ToEnumArguments cop. (@fatkodima)

Bug fixes

  • #8921: Prevent Lint/LiteralInInterpolation from removing necessary interpolation in %W[] and %I[] literals. (@knu)
  • #8708: Fix bad regexp recognition in Lint/OutOfRangeRegexpRef when there are multiple regexps. (@dvandersluis)
  • #8945: Fix changelog task to build a correct changelog item when Fix #123 is encountered. (@dvandersluis)
  • #8914: Fix autocorrection for Layout/TrailingWhitespace in heredocs. (@marcandre)
  • #8913: Fix an incorrect auto-correct for Style/RedundantRegexpCharacterClass due to quantifier. (@ysakasin)
  • #8917: Fix rubocop comment directives handling of cops with multiple levels in department name. (@fatkodima)
  • #8918: Fix a false positives for Bundler/DuplicatedGem when a gem conditionally duplicated within if-elsif or case-when statements. (@fatkodima)
  • #8933: Fix an error for Layout/EmptyLinesAroundAccessModifier when the first line is a comment. (@matthieugendreau)
  • #8954: Fix autocorrection for Style/RedundantRegexpCharacterClass with %r. (@ysakasin)

Changes

  • #8920: Remove Capybara's save_screenshot from Lint/Debugger. (@ybiquitous)
  • #8919: Require RuboCop AST 1.0.1 or higher. (@koic)
  • #8939: Accept comparisons of multiple method calls for Style/MultipleComparison. (@koic)
  • #8950: Add IgnoredMethods and IgnoredClasses to Lint/NumberConversion. (@dvandersluis)

Don't miss a new rubocop release

NewReleases is sending notifications on new releases.