noraj / haiti

:key: Hash type identifier (CLI & lib)
https://noraj.github.io/haiti/
MIT License
742 stars 55 forks source link

Bump rubocop from 1.45.1 to 1.50.2 #152

Closed dependabot[bot] closed 1 year ago

dependabot[bot] commented 1 year ago

Bumps rubocop from 1.45.1 to 1.50.2.

Release notes

Sourced from rubocop's releases.

RuboCop 1.50.2

Bug fixes

  • #11799: Fix a false positive for Style/CollectionCompact when using reject on hash to reject nils in Ruby 2.3 analysis. (@​koic)
  • #11792: Fix an error for Lint/DuplicateMatchPattern when using hash pattern with if guard. (@​koic)
  • #11800: Mark Style/InvertibleUnlessCondition as unsafe. (@​koic)

RuboCop 1.50.1

Bug fixes

  • #11787: Fix a false positive for Lint/DuplicateMatchPattern when repeated in patterns but different if guard is used. (@​koic)
  • #11789: Fix false negatives for Style/ParallelAssignment when Ruby 2.7+. (@​koic)
  • #11783: Fix a false positive for Style/RedundantLineContinuation using line concatenation for assigning a return value and without argument parentheses. (@​koic)

RuboCop 1.50

New features

  • #11749: Add new Lint/DuplicateMatchPattern cop. (@​koic)
  • #11773: Make Layout/ClassStructure aware of singleton class. (@​koic)
  • #11779: Make Lint/RedundantStringCoercion aware of print method arguments. (@​koic)
  • #11776: Make Metrics/ClassLength aware of singleton class. (@​koic)
  • #11775: Make Style/TrailingBodyOnClass aware of singleton class. (@​koic)

Bug fixes

  • #11758: Fix a false positive for Style/RedundantLineContinuation when line continuations for string. (@​koic)
  • #11754: Fix a false positive for Style/RedundantLineContinuation when using && and || with a multiline condition. (@​ydah)
  • #11765: Fix an error for Style/MultilineMethodSignature when line break after def keyword. (@​koic)
  • #11762: Fix an incorrect autocorrect for Style/ClassEqualityComparison when comparing a variable or return value for equality. (@​koic)
  • #11752: Fix a false positive for Style/RedundantLineContinuation when using line concatenation and calling a method without parentheses. (@​koic)

RuboCop 1.49

New features

  • #11122: Add new Style/RedundantLineContinuation cop. (@​ydah)
  • #11696: Add new Style/DataInheritance cop. ([@​ktopolski][])
  • #11746: Make Layout/EndAlignment aware of pattern matching. (@​koic)
  • #11750: Make Metrics/BlockNesting aware of numbered parameter. (@​koic)
  • #11699: Make Style/ClassEqualityComparison aware of Class#to_s and Class#inspect for class equality comparison. (@​koic)
  • #11737: Make Style/MapToHash and Style/MapToSet aware of numbered parameters. (@​koic)
  • #11732: Make Style/MapToHash and Style/MapToSet aware of symbol proc. (@​koic)
  • #11703: Make Naming/InclusiveLanguage support autocorrection when there is only one suggestion. (@​koic)

... (truncated)

Changelog

Sourced from rubocop's changelog.

1.50.2 (2023-04-17)

Bug fixes

  • #11799: Fix a false positive for Style/CollectionCompact when using reject on hash to reject nils in Ruby 2.3 analysis. ([@​koic][])
  • #11792: Fix an error for Lint/DuplicateMatchPattern when using hash pattern with if guard. ([@​koic][])
  • #11800: Mark Style/InvertibleUnlessCondition as unsafe. ([@​koic][])

1.50.1 (2023-04-12)

Bug fixes

  • #11787: Fix a false positive for Lint/DuplicateMatchPattern when repeated in patterns but different if guard is used. ([@​koic][])
  • #11789: Fix false negatives for Style/ParallelAssignment when Ruby 2.7+. ([@​koic][])
  • #11783: Fix a false positive for Style/RedundantLineContinuation using line concatenation for assigning a return value and without argument parentheses. ([@​koic][])

1.50.0 (2023-04-11)

New features

  • #11749: Add new Lint/DuplicateMatchPattern cop. ([@​koic][])
  • #11773: Make Layout/ClassStructure aware of singleton class. ([@​koic][])
  • #11779: Make Lint/RedundantStringCoercion aware of print method arguments. ([@​koic][])
  • #11776: Make Metrics/ClassLength aware of singleton class. ([@​koic][])
  • #11775: Make Style/TrailingBodyOnClass aware of singleton class. ([@​koic][])

Bug fixes

  • #11758: Fix a false positive for Style/RedundantLineContinuation when line continuations for string. ([@​koic][])
  • #11754: Fix a false positive for Style/RedundantLineContinuation when using && and || with a multiline condition. ([@​ydah][])
  • #11765: Fix an error for Style/MultilineMethodSignature when line break after def keyword. ([@​koic][])
  • #11762: Fix an incorrect autocorrect for Style/ClassEqualityComparison when comparing a variable or return value for equality. ([@​koic][])
  • #11752: Fix a false positive for Style/RedundantLineContinuation when using line concatenation and calling a method without parentheses. ([@​koic][])

1.49.0 (2023-04-03)

New features

  • #11122: Add new Style/RedundantLineContinuation cop. ([@​ydah][])
  • #11696: Add new Style/DataInheritance cop. ([@​ktopolski][])
  • #11746: Make Layout/EndAlignment aware of pattern matching. ([@​koic][])
  • #11750: Make Metrics/BlockNesting aware of numbered parameter. ([@​koic][])
  • #11699: Make Style/ClassEqualityComparison aware of Class#to_s and Class#inspect for class equality comparison. ([@​koic][])
  • #11737: Make Style/MapToHash and Style/MapToSet aware of numbered parameters. ([@​koic][])
  • #11732: Make Style/MapToHash and Style/MapToSet aware of symbol proc. ([@​koic][])
  • #11703: Make Naming/InclusiveLanguage support autocorrection when there is only one suggestion. ([@​koic][])

Bug fixes

  • #11730: Fix an error for Layout/HashAlignment when using anonymous keyword rest arguments. ([@​koic][])

... (truncated)

Commits
  • ca0beb7 Cut 1.50.2
  • 90844ae Update Changelog
  • f59711f [Fix #11803] Update the doc for Style/RedundantFetchBlock
  • b5c8dda Merge pull request #11799 from koic/fix_a_false_positive_for_style_collection...
  • eeffa10 Merge pull request #11805 from tagliala/chore/fix-typo-in-deprecated-attribut...
  • 13eef33 Fix typo in DeprecatedAttributeAssignment cop
  • edcae93 [Fix #11800] Mark Style/InvertibleUnlessCondition as unsafe
  • c626673 Fix a false positive for Style/CollectionCompact
  • 8dfe1b4 [Doc] Tweak examples for AllowMultilineFinalElement
  • c59e349 [Fix #11792] Fix an error for Lint/DuplicateMatchPattern
  • Additional commits viewable in compare view


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)
sonarcloud[bot] commented 1 year ago

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information