Skip to content

Bump rubocop from 0.75.1 to 0.76.0

NipaNipa requested to merge dependabot/bundler/rubocop-0.76.0 into master

Bumps rubocop from 0.75.1 to 0.76.0.

Release notes

Sourced from rubocop's releases.

RuboCop 0.76

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

  • #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)
Changelog

Sourced from rubocop's changelog.

0.76.0 (2019-10-28)

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

  • #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)
Commits
  • bb227db Cut RuboCop 0.76
  • d00fb92 Highlight the renaming of some cops in the changelog
  • 18ff52e Add forward slash to LITERAL_REGEX
  • bb55659 [Fix #7396] Display ABC components alongside the total value (#7399)
  • 2f69571 Restyle example formatting for Style/NonNilCheck
  • 694d4a9 Add os to AllowedNames in default configuration for cop Naming/Uncommunicat...
  • 9b48a4a Add VersionRemoved to internal params
  • e88d6b5 Regenerate RuboCop TODO
  • b11eb59 Ignore ABC size for NodePattern#compile_any_order
  • f7baecd Make specs display Ruby warnings if any are found
  • Additional commits viewable in compare view

Merge request reports