#10203: Fix Style/FormatStringToken to respect IgnoredMethods with nested structures. ([@tejasbubane][])
#10242: Fix last_column value for JSONFormatter. ([@koic][])
#10229: Fix a false positive for Style/StringLiterals when EnforcedStyle: 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 recognize Structs as classes that satisfy the ExpectMatchingDefinition requirement. ([@dvandersluis][])
#10220: Update Naming/FileName to make CheckDefinitionPathHierarchy roots configurable. ([@grosser][])
#10199: Change AllowAdjacentOneLineDefs config parameter of Layout/EmptyLineBetweenDefs to true by default . ([@koic][])
#10236: Make Lint/NumberConversion aware of to_r. ([@koic][])
1.22.3 (2021-10-27)
Bug fixes
#10166: Fix a false positive for Style/StringLiterals when using some meta characters (e.g. '\s', '\z') with EnforcedStyle: double_quotes. ([@koic][])
#10216: Fix an incorrect autocorrect for Style/SelectByRegexp when using lvar =~ blockvar in a block. ([@koic][])
#10207: Fix false positive in Layout/DotPosition when the selector is on the same line as the closing bracket of the receiver. ([@mvz][])
Changes
#10209: Make Lint/DeprecatedConstants aware of Net::HTTPServerException. ([@koic][])
1.22.2 (2021-10-22)
Bug fixes
#10165: Fix Layout/DotPosition false positives when the selector and receiver are on the same line. ([@dvandersluis][])
#10171: Fix Style/HashTransformKeys and Style/HashTransformValues incorrect auto-correction when inside block body. ([@franzliedke][])
#10180: Fix an error for Style/SelectByRegexp when using match? without a receiver. ([@koic][])
#10193: Fix an error for Layout/EmptyLinesAroundExceptionHandlingKeywords when begin and rescue are on the same line. ([@koic][])
#10185: Fix a false positive for Lint/AmbiguousRange when using self in a range literal. ([@koic][])
#10200: Fix an error when inspecting a directory named *. ([@koic][])
#10149: Fix Bundler/GemComment where it would not detect an offense in some cases when OnlyFor is set to restrictive_version_specifiers. ([@Drowze][])
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)
Bumps rubocop from 1.22.1 to 1.23.0.
Release notes
Sourced from rubocop's releases.
... (truncated)
Changelog
Sourced from rubocop's changelog.
... (truncated)
Commits
2738602
Cut 1.2395e851c
Update Changelog5780761
Add newGemspec/RequireMFA
cop.12e0993
Refactor shared gemspec matcher into a mixin.bdb92d6
Merge pull request #10246 from koic/tweak_offense_range_for_layout_space_in_l...e152d25
Merge pull request #10224 from grosser/grosser/paths9cb95c9
[Fix #10220] Naming/FileName: make CheckDefinitionPathHierarchy roots configu...dc7ffcb
Tweak offense range forLayout/SpaceInLambdaLiteral
1502503
Add rubocop-graphql as a third-party extension in the docsc7c498f
Add rubocop-graphql to suggested extensionsDependabot 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)