Rubocop v0.76.0 Release Notes

Release Date: 2019-10-28 // over 4 years ago
  • ๐Ÿ› Bug fixes

    • ๐Ÿ’… #7439: Make Style/FormatStringToken ignore percent escapes (%%). (@buehmann)
    • #7438: Fix assignment edge-cases in Layout/MultilineAssignmentLayout. (@gsamokovarov)
    • ๐Ÿ’… #7449: Make Style/IfUnlessModifier respect rubocop:disable comments for Metrics/LineLength. (@jonas054)
    • ๐Ÿ’… #7442: Fix an incorrect autocorrect for Style/SafeNavigation when an object check followed by a method call with a comment at EOL. (@koic)
    • ๐Ÿ’… #7434: Fix an incorrect autocorrect for Style/MultilineWhenThen when the body of when branch starts with then. (@koic)
    • ๐ŸŽ #7464: Let Performance/StartWith and Performance/EndWith correct regexes that contain forward slashes. (@eugeneius)

    ๐Ÿ”„ Changes

    • 0๏ธโƒฃ #7465: Add os to allowed names of Naming/UncommunicativeMethodParamName cop in default config. (@nijikon)
    • ๐Ÿ’… #7446: Add merge to list of non-mutating methods. (@cstyles)
    • #7077: (Breaking) Rename Unneeded* cops to Redundant* (e.g., Style/UnneededPercentQ becomes Style/RedundantPercentQ). (@scottmatthewman)
    • #7396: Display assignments, branches, and conditions values with the offense. (@avmnu-sng)