github rubocop/rubocop v1.3.0
RuboCop 1.3

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

New features

Bug fixes

  • #8499: Fix Style/IfUnlessModifier and Style/WhileUntilModifier to prevent an offense if there are both first-line comment and code after end block. (@dsavochkin)
  • #8996: Fix a false positive for Style/MultipleComparison when comparing two sides of the disjunction is unrelated. (@koic)
  • #8975: Fix an infinite loop when autocorrecting Layout/TrailingWhitespace + Lint/LiteralInInterpolation. (@fatkodima)
  • #8998: Fix an error for Style/NegatedIfElseCondition when using negated condition and if branch body is empty. (@koic)
  • #9008: Mark Style/InfiniteLoop as unsafe. (@marcandre)

Changes

  • #8978: Update Layout/LineLength autocorrection to be able to handle method calls with long argument lists. (@dvandersluis)
  • #9015: Update Lint/EmptyBlock to allow for empty lambdas. (@dvandersluis)
  • #9022: Add NOTE to keywords of Style/CommentAnnotation. (@koic)
  • #9011: Mark autocorrection for Lint/Loop as unsafe. (@dvandersluis)
  • #9026: Update Style/DocumentDynamicEvalDefinition to detect comment blocks that document the evaluation. (@dvandersluis)
  • #9004: Remove obsolete gem SafeYAML compatibility. (@marcandre)
  • #9023: Mark unsafe for Style/CollectionCompact. (@koic)
  • #9012: Allow AllowedIdentifiers to be specified for Naming/VariableNumber. (@dvandersluis)

Don't miss a new rubocop release

NewReleases is sending notifications on new releases.