gems rubocop 1.77.0
RuboCop v1.77.0

latest releases: 1.80.2, 1.80.1, 1.80.0...
2 months ago

New features

Bug fixes

  • #14306: Fix an error for Style/HashConversion when using nested Hash[]. (@koic)
  • #14298: Fix an error for Style/SoleNestedConditional when autocorrecting nested if/unless/if. (@ssagara00)
  • #14313: Fix a false positive for Layout/SpaceBeforeBrackets when call desugared Hash#[] to lvar receiver with a space around the dot. (@koic)
  • #14292: Fix false positives for Style/RedundantParentheses when assigning a parenthesized one-line in pattern matching. (@koic)
  • #14296: Fix false positives for Style/RedundantSelf when receiver and lvalue have the same name in or-assignment. (@koic)
  • #14303: Fix Lint/SelfAssignment to allow inline RBS comments. (@Morriar)
  • #14307: Fix Style/MethodCallWithArgsParentheses false positive on forwarded keyword argument with additional arguments. (@viralpraxis)
  • #14301: Fix autocorrection syntax error for multiline expressions in Style/RedundantParentheses. (@lovro-bikic)

Changes

  • #14295: Update Naming/PredicateMethod to consider negation (!/not) as boolean values. (@dvandersluis)
  • #14255: Update Naming/PredicateMethod to treat returned predicate method calls as boolean values. (@dvandersluis)

Don't miss a new rubocop release

NewReleases is sending notifications on new releases.