Update rubocop: 1.22.3 → 1.23.0 (minor)
Here is everything you need to know about this update. Please take a good look at what changed and the test results before merging this pull request.
What changed?
✳ ️ rubocop (1.22.3 → 1.23.0) · Repo · Changelog
Release Notes
1.23.0
New features
- #10202: Add new
Lint/UselessRuby2Keywords
cop. (@dvandersluis)- #10217: Add new
Style/OpenStructUse
cop. (@mttkay)- #10243: Add new
Gemspec/RequireMFA
cop. (@dvandersluis)Bug fixes
- #10203: Fix
Style/FormatStringToken
to respectIgnoredMethods
with nested structures. (@tejasbubane)- #10242: Fix
last_column
value forJSONFormatter
. (@koic)- #10229: Fix a false positive for
Style/StringLiterals
whenEnforcedStyle: double_quotes
and using single quoted string with backslash. (@koic)- #10174: Fix inherit_from_remote should follow remote includes path starting with
./
. (@hirasawayuki)- #10234: Fix an error for
Style/Documentation
when using a cbase class. (@koic)- #10227: Fix a false positive for
Style/ParenthesesAroundCondition
when parentheses in multiple expressions separated by semicolon. (@koic)- #10230: Fix a false positive for
Lint/AmbiguousRange
when a range is composed of all literals except basic literals. (@koic)Changes
- #10221: Update
Naming::FileName
to recognizeStruct
s as classes that satisfy theExpectMatchingDefinition
requirement. (@dvandersluis)- #10220: Update
Naming/FileName
to makeCheckDefinitionPathHierarchy
roots configurable. (@grosser)- #10199: Change
AllowAdjacentOneLineDefs
config parameter ofLayout/EmptyLineBetweenDefs
totrue
by default . (@koic)- #10236: Make
Lint/NumberConversion
aware ofto_r
. (@koic)
Does any of this look wrong? Please let us know.
Commits
See the full diff on Github. The new version differs by 38 commits:
Cut 1.23
Update Changelog
Add new `Gemspec/RequireMFA` cop.
Refactor shared gemspec matcher into a mixin.
Merge pull request #10246 from koic/tweak_offense_range_for_layout_space_in_lambda_literal
Merge pull request #10224 from grosser/grosser/paths
[Fix #10220] Naming/FileName: make CheckDefinitionPathHierarchy roots configurable
Tweak offense range for `Layout/SpaceInLambdaLiteral`
Add rubocop-graphql as a third-party extension in the docs
Add rubocop-graphql to suggested extensions
Change `AllowAdjacentOneLineDefs` config parameter of `Layout/EmptyLineBetweenDefs` to `true` by default
Added additional documentation to `Naming/FileName` for currently undocumented configurations.
[Fix #10221] Update `Naming::FileName` to recognize `Struct`s as classes that satisfy the `ExpectMatchingDefinition` requirement.
Use `expect_offense` syntax for spec/rubocop/cop/naming/file_name_spec.rb.
[Fix #10230] Fix a false positive for `Lint/AmbiguousRange`
[Fix #10241] Fix `last_column` value for `JSONFormatter`
Tweak changelog format doc and add a project spec
Tweak a broken indentation of the rubydoc.info docs
Merge pull request #10238 from ghiculescu/patch-1
Require MFA for gem pushes.
Fix bad indenting in docs
Merge pull request #10233 from hirasawayuki/fix_inherit_from_remote
[Fix #10174] Fix inherit_from_remote should follow remote includes path starting with `./`
Merge pull request #10205 from dvandersluis/issue/10202
Make `Lint/NumberConversion` aware of `to_r`
Merge pull request #10235 from tejasbubane/fix-10203
[Fix #10203] Fix `Style/FormatStringToken` to respect `IgnoredMethods` with nested structures
Fix an error for `Style/Documentation`
Merge pull request #10229 from koic/fix_a_false_positive_for_style_string_literals
[Fix #10202] Add new `Lint/Ruby2Keywords` cop.
Merge pull request #10217 from mttkay/mk-avoid-openstruct
Merge pull request #10228 from koic/fix_false_positive_for_style_parentheses_around_condition
Fix a false positive for `Style/StringLiterals`
[Fix #10227] Fix a false positive for `Style/ParenthesesAroundCondition`
[Fix #10206] Add Style/OpenStructUse Cop
Bump RuboCop Performance to 1.12.0
Tweak a message for `rake new_cop`
Switch back the docs version
↗ ️ rubocop-ast (indirect, 1.12.0 → 1.13.0) · Repo · Changelog
Commits
See the full diff on Github. The new version differs by 6 commits:
Depfu will automatically keep this PR conflict-free, as long as you don't add any commits to this branch yourself. You can also trigger a rebase manually by commenting with @depfu rebase
.
All Depfu comment commands
- @depfu rebase
- Rebases against your default branch and redoes this update
- @depfu recreate
- Recreates this PR, overwriting any edits that you've made to it
- @depfu merge
- Merges this PR once your tests are passing and conflicts are resolved
- @depfu close
- Closes this PR and deletes the branch
- @depfu reopen
- Restores the branch and reopens this PR (if it's closed)
- @depfu pause
- Ignores all future updates for this dependency and closes this PR
- @depfu pause [minor|major]
- Ignores all future minor/major updates for this dependency and closes this PR
- @depfu resume
- Future versions of this dependency will create PRs again (leaves this PR as is)