CocoaPods / Xcodeproj

Create and modify Xcode projects from Ruby.
http://rubygems.org/gems/xcodeproj
MIT License
2.32k stars 452 forks source link

Bump rubocop from 0.47.1 to 0.50.0 #909

Open dependabot[bot] opened 1 year ago

dependabot[bot] commented 1 year ago

Bumps rubocop from 0.47.1 to 0.50.0.

Release notes

Sourced from rubocop's releases.

RuboCop 1.28 (a.k.a. The 10th Anniversary Edition)

New features

Bug fixes

  • #10528: Fix an infinite loop at autocorrect for Layout/CaseIndentation. (@​ydah)
  • #10537: Fix an incorrect auto-correct for Style/MultilineTernaryOperator when returning a multiline ternary operator expression with break, next, or method call. (@​koic)
  • #10529: Fix autocorrect for Style/SoleNestedConditional causes logical error when using a outer condition of method call by omitting parentheses for method arguments. (@​nobuyo)
  • #10530: Fix a false positive for Style/RedundantRegexpCharacterClass when using regexp character class with a character class containing multiple unicode code-points. (@​koic)
  • #10518: Fix a false positive for Style/DoubleNegation when inside returned conditional clauses with Ruby 2.7's pattern matching. (@​koic)
  • #10510: Fix an error for Style/SingleArgumentDig when using multiple dig in a method chain. (@​koic)
  • #10553: Fix crash with trailing tabs in heredocs for Layout/TrailingWhitespace. (@​dvandersluis)
  • #10488: Fix autocorrection for Layout/MultilineMethodCallIndentation breaks indentation for nesting of method calls. (@​nobuyo)
  • #10543: Fix incorrect code length calculation for few more patterns of hash folding asked. (@​nobuyo)
  • #10541: Fix an incorrect autocorrect for Style/SpecialGlobalVars when global variable as Perl name is used multiple times. (@​koic)
  • #10514: Fix an error for Lint/EmptyConditionalBody when missing second elsif body. (@​koic)
  • #10469: Fix code length calculation when kwargs written in single line. (@​nobuyo)

Changes

  • #10555: Deprecate IgnoredPatterns in favour of AllowedPatterns. (@​dvandersluis)
  • #10356: Add AllowConsecutiveConditionals option to Style/GuardClause and the option is false by default. (@​ydah)
  • #10524: Mark Style/RedundantInitialize as unsafe. (@​koic)
  • #10280: Add AllowComments option to Style/SymbolProc and the option is false by default. (@​ydah)
Changelog

Sourced from rubocop's changelog.

0.50.0 (2017-09-14)

New features

Bug fixes

  • #4709: Use cached remote config on network failure. ([@​kristjan][])
  • #4688: Accept yoda condition which isn't commutative. ([@​fujimura][])
  • #4676: Make Style/RedundantConditional cop work with elsif. ([@​akhramov][])
  • #4656: Modify Style/ConditionalAssignment auto-correction to work with unbracketed arrays. ([@​akhramov][])
  • #4615: Don't consider <=> a comparison method. ([@​iGEL][])
  • #4664: Fix typos in Rails/HttpPositionalArguments. ([@​JoeCohen][])
  • #4618: Fix Lint/FormatParameterMismatch false positive if format string includes %%5B (CGI encoded left bracket). ([@​barthez][])
  • #4604: Fix Style/LambdaCall to auto-correct obj.call to obj.. ([@​iGEL][])
  • #4443: Prevent Style/YodaCondition from breaking not LITERAL. ([@​pocke][])
  • #4434: Prevent bad auto-correct in Style/Alias for non-literal arguments. ([@​drenmi][])
  • #4451: Make Style/AndOr cop aware of comparison methods. ([@​drenmi][])
  • #4457: Fix false negative in Lint/Void with initialize and setter methods. ([@​pocke][])
  • #4418: Register an offense in Style/ConditionalAssignment when the assignment line is the longest line, and it does not exceed the max line length. ([@​rrosenblum][])
  • #4491: Prevent bad auto-correct in Style/EmptyElse for nested if. ([@​pocke][])

... (truncated)

Commits


Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) You can disable automated security fix PRs for this repo from the [Security Alerts page](https://github.com/CocoaPods/Xcodeproj/network/alerts).