dep-dev: bump rubocop from 1.25.1 to 1.26.0
Bumps rubocop from 1.25.1 to 1.26.0.
Release notes
Sourced from rubocop's releases.
RuboCop 1.26
New features
- #10419: Add new
Style/NestedFileDirname
cop. (@koic
)- #10433: Support
TargetRubyVersion 3.2
(experimental). (@koic
)Bug fixes
- #10406: Fix a false positive for
Lint/InheritException
when inheriting a standard lib exception class that is not a subclass ofStandardError
. (@koic
)- #10421: Make
Style/DefWithParentheses
aware of endless method definition. (@koic
)- #10401: Fix a false positive for
Style/HashSyntax
when local variable hash key and hash value are the same. (@koic
)- #10424: Fix a false positive for
Security/YamlLoad
when using Ruby 3.1+ (Psych 4). (@koic
)- #10446: Lint/RedundantDirGlobSort unset SafeAutoCorrect. (
@friendlyantz
)- #10403: Fix an error for
Style/StringConcatenation
when string concatenation with multiline heredoc text. (@koic
)- #10432: Fix an error when using regexp with non-encoding option. (
@koic
)- #10415: Fix an error for
Lint/UselessTimes
when using1.times
with method chain. (@koic
)Changes
- #10408: Mark
Lint/InheritException
as unsafe auto-correction. (@koic
)- #10407: Change
EnforcedStyle
fromruntime_error
tostandard_error
forLint/InheritException
. (@koic
)- #10414: Update auto-gen-config's auto-correction comments to be more clear. (
@maxjacobson
)- #10427: Mark
Style/For
as unsafe auto-correction. (@issyl0
)- #10410: Improve help string for
--fail-level
CLI option. (@tejasbubane
)
Changelog
Sourced from rubocop's changelog.
1.26.0 (2022-03-09)
New features
- #10419: Add new
Style/NestedFileDirname
cop. ([@koic
][])- #10433: Support
TargetRubyVersion 3.2
(experimental). ([@koic
][])Bug fixes
- #10406: Fix a false positive for
Lint/InheritException
when inheriting a standard lib exception class that is not a subclass ofStandardError
. ([@koic
][])- #10421: Make
Style/DefWithParentheses
aware of endless method definition. ([@koic
][])- #10401: Fix a false positive for
Style/HashSyntax
when local variable hash key and hash value are the same. ([@koic
][])- #10424: Fix a false positive for
Security/YamlLoad
when using Ruby 3.1+ (Psych 4). ([@koic
][])- #10446: Lint/RedundantDirGlobSort unset SafeAutoCorrect. ([
@friendlyantz
][])- #10403: Fix an error for
Style/StringConcatenation
when string concatenation with multiline heredoc text. ([@koic
][])- #10432: Fix an error when using regexp with non-encoding option. ([
@koic
][])- #10415: Fix an error for
Lint/UselessTimes
when using1.times
with method chain. ([@koic
][])Changes
- #10408: Mark
Lint/InheritException
as unsafe auto-correction. ([@koic
][])- #10407: Change
EnforcedStyle
fromruntime_error
tostandard_error
forLint/InheritException
. ([@koic
][])- #10414: Update auto-gen-config's auto-correction comments to be more clear. ([
@maxjacobson
][])- #10427: Mark
Style/For
as unsafe auto-correction. ([@issyl0
][])- #10410: Improve help string for
--fail-level
CLI option. ([@tejasbubane
][])
Commits
-
e1e4637
Cut 1.26 -
ff85270
Update Changelog -
857e682
Mark Lint/RedundantDirGlobSort's autocorrection as unsafe (#10446) -
c95a26d
Add newStyle/NestedFileDirname
cop -
bfc6bfb
Add logic to ensure badge information (Department/Name) is in CamelCase (#10271) -
c59c090
Merge pull request #10445 from cbliard/patch-2 -
47ec9de
Indicate what MFA means in Gemspec/RequireMFA cop documentation -
fed5c29
Tweak the doc forLayout/CaseIndentation
-
105f94c
Merge pull request #10444 from ydah/fix-doc-formatting -
e9ebf75
Fix doc formatting written in unescaped file path - Additional commits viewable in compare view
Dependabot commands
You can trigger Dependabot actions by commenting on this MR
-
@dependabot-bot rebase
will rebase this MR -
@dependabot-bot recreate
will recreate this MR rewriting all the manual changes and resolving conflicts