Skip to content
This repository has been archived by the owner on Jul 31, 2023. It is now read-only.

Commit

Permalink
Update rubocop requirement from ~> 1.41.1 to ~> 1.42.0 (#81)
Browse files Browse the repository at this point in the history
* Update rubocop requirement from ~> 1.41.1 to ~> 1.42.0

Updates the requirements on [rubocop](https://github.com/rubocop/rubocop) to permit the latest version.
- [Release notes](https://github.com/rubocop/rubocop/releases)
- [Changelog](https://github.com/rubocop/rubocop/blob/master/CHANGELOG.md)
- [Commits](rubocop/rubocop@v1.41.1...v1.42.0)

---
updated-dependencies:
- dependency-name: rubocop
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>

* Supress rubocop warns

Warning: obsolete parameter `IgnoredMethods` (for `Style/MethodCallWithArgsParentheses`) found in .rubocop.yml
`IgnoredMethods` has been renamed to `AllowedMethods` and/or `AllowedPatterns`.

* Disable meaningless Style/YodaExpression as Style/YodaCondition did

rubocop/rubocop#9222

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Kenichi Kamiya <kachick1@gmail.com>
  • Loading branch information
dependabot[bot] and kachick committed Jan 3, 2023
1 parent 4fb9435 commit 0b2fe46
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .rubocop.yml
Expand Up @@ -727,6 +727,9 @@ Style/WordArray:
Style/YodaCondition:
Enabled: false

Style/YodaExpression:
Enabled: false

Style/ZeroLengthPredicate:
Enabled: true

Expand Down
2 changes: 1 addition & 1 deletion Gemfile
Expand Up @@ -13,7 +13,7 @@ end

group :development do
gem 'yard', '~> 0.9.28', require: false
gem 'rubocop', '~> 1.41.1', require: false
gem 'rubocop', '~> 1.42.0', require: false
gem 'rubocop-rake', '~> 0.6.0', require: false
gem 'rubocop-performance', '~> 1.15.2', require: false
gem 'rubocop-rubycw', '~> 0.1.6', require: false
Expand Down

0 comments on commit 0b2fe46

Please sign in to comment.