Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Here is everything you need to know about this upgrade. Please take a good look at what changed and the test results before merging this pull request.
What changed?
✳️ rubocop (1.35.0 → 1.36.0) · Repo · Changelog
Release Notes
1.36.0
1.35.1
Does any of this look wrong? Please let us know.
Commits
See the full diff on Github. The new version differs by 74 commits:
Cut 1.36
Update Changelog
Add a spec for server mode
Merge pull request #10984 from r7kamura/feature/modifier-example
Improve singleton method example on `Lint/UselessAccessModifier` cop
Fix an error for `rake prof:slow_cops`
Merge pull request #10928 from r7kamura/feature/each
Merge pull request #10981 from Tietew/fix_a_false_positive_for_style_redundant_parentheses
Merge pull request #10932 from koic/use_official_jruby_image
[Fix #10979] Fix a false positive for `Style/Style/RedundantParentheses`
Use GitHub Actions instead of CircleCI for JRuby matrix
Add more autocorrect support on `Style/EachForSimpleLoop`
Merge pull request #10970 from jcalvert/fix/10969
[Fix rubocop#10969] Allow `Lint/AmbiguousBlockAssociation` `AllowedPattern` to match on
Add `AllowOnSelfClass` option to `Style/CaseEquality`
Do not fork off extra processes if only a single file needs inspection
Fix possible wrong autocorrection in namespace on `Style/PerlBackrefs`
Improve safety section on `Style/SymbolProc`
Merge pull request #10973 from r7kamura/feature/strong
Merge pull request #10972 from r7kamura/feature/asciidoc-backtick
Fix wrong asterisk use in `Lint/UselessRuby2Keywords` document
Fix some broken codes in Asciidoc documents
Merge pull request #10952 from ydah/fix/empty_conditional_body
Merge pull request #10968 from ydah/fix/10962
[Fix #10962] Fix a false positive for `Lint/ShadowingOuterLocalVariable` when conditional with if/elsif/else branches
[Fix #10951] Fix an autocorrection error for `Lint/EmptyConditionalBody` when some conditional branch is empty
Merge pull request #10966 from r7kamura/feature/modifier-autocorrect
Merge pull request #10953 from ydah/speed_improvement
Merge pull request #10964 from koic/fix_a_false_positive_for_layout_indentation_width
Merge pull request #10959 from ydah/fix_space_inside_block_braces
[Fix #10958] Fix an infinite loop for `Layout/SpaceInsideBlockBraces` when `EnforcedStyle` is `no_space` and using multiline block
Merge pull request #10967 from MSP-Greg/00-actions-no-color
Add autocorrect support to `Style/AccessModifierDeclarations`
Actions - use --no-color
Merge pull request #10965 from MSP-Greg/00-windows
Actions - add workflow_dispatch for use in forks
.gitignore - add vendor/ for local development
formatter/formatter_set_spec.rb - remove references to file IO on Windows
[Fix #10963] Fix a false positive for `Layout/IndentationWidth`
[Fix #10919] Fix a huge performance regression between 1.32.0 and 1.33.0
Merge pull request #10955 from koic/fix_a_flaky_test_of_formatter_set_spec
Workaround for mingw build error
[Fix #10960] Add `as` to `AllowedNames` of `Naming/MethodParameterName` cop
Tweak the doc of server mode
Merge pull request #10950 from ydah/doc/block_alignment
[Fix #10949] Fix documentation error for `Layout/BlockAlignment`
[Fix #10927] Fix a false positive for `Style/HashTransformKeys` and `Style/HashTransformValues`
Add server mode status to `-V` option
Switch back the docs version
Cut 1.35.1
Update Changelog
[Fix #10939] Fix an error for `Style/Next`
Merge pull request #10945 from koic/fix_an_incorrect_autocorrect_for_lint_literal_in_interpolation
Merge pull request #10946 from fatkodima/safe-navigation-negated
Fix `Style/SafeNavigation` for negated method call with a safe navigation
[Fix #10944] Fix an incorrect autocorrect for `Lint/LiteralInInterpolation`
Make `InternalAffairs/SingleLineComparison` aware of negative comparison
Merge pull request #10941 from fatkodima/fix-prof-slow_cops
Fix `rake prof:slow_cops` to return correct results
Enhanced documentation for `Lint/RedundantSafeNavigation`
Enhanced documentation for `Style/GuardClause`
Fix some typos
[Fix #10921] Fix an error when processing configuration file
[Fix #10926] Make `Style/SafeNavigation` aware of a redundant nil check
[Fix #10936] Fix an error for `Lint/NonAtomicFileOperation`
Merge pull request #10935 from ydah/fix/filename
Correct the typo in the filename
Fix trivial typo
Fix typos
Fix an incompatibility error when nested `LoadError`
Merge pull request #10923 from koic/fix_an_incorrect_autocorrect_for_style_sole_nested_conditional
[Fix #10920] Fix an incorrect autocorrect for `Style/SoleNestedConditional`
Find Gemfile.lock before gems.locked
Switch back docs version
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