gems rubocop 0.78.0
RuboCop 0.78

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

New features

  • #7528: Add new Lint/NonDeterministicRequireOrder cop. (@mangara)
  • #7559: Add EnforcedStyleForExponentOperator parameter to Layout/SpaceAroundOperators cop. (@khiav223577)

Bug fixes

  • #7530: Typo in Style/TrivialAccessors's AllowedMethods. (@movermeyer)
  • #7532: Fix an error for Style/TrailingCommaInArguments when using an anonymous function with multiple line arguments with EnforcedStyleForMultiline: consistent_comma. (@koic)
  • #7534: Fix an incorrect autocorrect for Style/BlockDelimiters cop and Layout/SpaceBeforeBlockBraces cop with EnforcedStyle: no_space when using multiline braces. (@koic)
  • #7231: Fix the exit code to be 2 rather when 0 when the config file contains an unknown cop. (@jethroo)
  • #7513: Fix abrupt error on autocorrecting with --disable-uncorrectable. (@tejasbubane)
  • #7537: Fix a false positive for Layout/SpaceAroundOperators when using a Rational literal with / (e.g. 2/3r). (@koic)
  • #7029: Make Style/Attr not flag offense for custom attr method. (@tejasbubane)
  • #7574: Fix a corner case that made Style/GuardClause crash. (@buehmann)

Changes

  • #7514: Expose correctable status on offense and in formatters. (@tyler-ball)
  • #7542: (Breaking) Move LineLength cop from Metrics department to Layout department. (@koic)

Don't miss a new rubocop release

NewReleases is sending notifications on new releases.