-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Comparing changes
Open a pull request
base repository: rubocop/rubocop
base: v1.75.3
head repository: rubocop/rubocop
compare: v1.75.4
- 20 commits
- 93 files changed
- 5 contributors
Commits on Apr 22, 2025
-
Configuration menu - View commit details
-
Copy full SHA for f44b15c - Browse repository at this point
Copy the full SHA f44b15cView commit details -
Fix false positives for
Style/RedundantParentheses
Follow-up to #14067 (comment) The fix in #14093 had been overlooked. This PR fixes false positives for `Style/RedundantParentheses` when parens around basic conditional as the second argument of a parenthesized method call.
Configuration menu - View commit details
-
Copy full SHA for edbc2c6 - Browse repository at this point
Copy the full SHA edbc2c6View commit details -
Merge pull request #14110 from koic/fix_false_positives_for_style_red…
…undant_parentheses Fix false positives for `Style/RedundantParentheses`
Configuration menu - View commit details
-
Copy full SHA for 4138348 - Browse repository at this point
Copy the full SHA 4138348View commit details -
[Fix #14111] Fix an error for
Style/SafeNavigation
This PR fixes an error for `Style/SafeNavigation` when the RHS of `&&` is a complex `||` expression composed of `&&` conditions. Fixes #14111
Configuration menu - View commit details
-
Copy full SHA for 378939b - Browse repository at this point
Copy the full SHA 378939bView commit details
Commits on Apr 24, 2025
-
[Fix #13611] Enable
Lint/CircularArgumentReference
on Ruby 3.4It is allowed syntax again, without a warning. Conceptually it is very close to `Lint/SelfAssignment`, so I would say it makes sense to just enable this again.
Configuration menu - View commit details
-
Copy full SHA for b383d6c - Browse repository at this point
Copy the full SHA b383d6cView commit details -
Merge pull request #14115 from Earlopain/circular-arguments
[Fix #13611] Enable `Lint/CircularArgumentReference` on Ruby 3.4
Configuration menu - View commit details
-
Copy full SHA for 066e7a2 - Browse repository at this point
Copy the full SHA 066e7a2View commit details
Commits on Apr 25, 2025
-
Run Ruby 3.4 examples with prism by default
`parser` can't correctly analyze 3.4, so it requires `broken_on: :parser` in a bunch of places. Users don't run with `parser` on Ruby 3.4 anymore, `prism` is choosen automatically. So, there's no reason to not just do the same in tests.
Configuration menu - View commit details
-
Copy full SHA for 80165c2 - Browse repository at this point
Copy the full SHA 80165c2View commit details -
[Fix #14120] Fix false positives for
Style/RedundantParentheses
This PR fixes false positives for `Style/RedundantParentheses` when parens around unparenthesized method call as the second argument of a parenthesized method call. Fixes #14120.
Configuration menu - View commit details
-
Copy full SHA for df5b195 - Browse repository at this point
Copy the full SHA df5b195View commit details
Commits on Apr 26, 2025
-
Fix linked pr in changelog entry for "Extension plugin is loaded auto…
…matically with require 'rubocop/rspec/support'"
Configuration menu - View commit details
-
Copy full SHA for a7737c2 - Browse repository at this point
Copy the full SHA a7737c2View commit details -
Merge pull request #14125 from Zopolis4/happenst
Fix linked pr in changelog entry for "Extension plugin is loaded automatically with require 'rubocop/rspec/support'"
Configuration menu - View commit details
-
Copy full SHA for 4a61156 - Browse repository at this point
Copy the full SHA 4a61156View commit details -
[Fix #14123] Fix an error for
Lint/BooleanSymbol
This PR fixes an infinite loop error for `Lint/BooleanSymbol` when using the rocket hash syntax with a boolean symbol key. Fixes #14123.
Configuration menu - View commit details
-
Copy full SHA for 7dea554 - Browse repository at this point
Copy the full SHA 7dea554View commit details -
Merge pull request #14126 from koic/fix_an_error_lint_boolean_symbol
[Fix #14123] Fix an error for `Lint/BooleanSymbol`
Configuration menu - View commit details
-
Copy full SHA for d3f6b08 - Browse repository at this point
Copy the full SHA d3f6b08View commit details
Commits on Apr 27, 2025
-
[Fix #14129] Fix false positives for
Style/ArgumentsForwarding
This PR fixes false positives for `Style/ArgumentsForwarding` when using default positional arg, keyword arg, and block arg in Ruby 3.1. Fixes #14129.
Configuration menu - View commit details
-
Copy full SHA for 3aadb46 - Browse repository at this point
Copy the full SHA 3aadb46View commit details -
Merge pull request #14130 from koic/fix_false_positive_for_style_argu…
…ments_forwarding_cop [Fix #14129] Fix false positives for `Style/ArgumentsForwarding`
Configuration menu - View commit details
-
Copy full SHA for a2f38ce - Browse repository at this point
Copy the full SHA a2f38ceView commit details
Commits on Apr 28, 2025
-
Fix an error for
Style/ComparableBetween
when comparing the value w……ith itself The code doesn't make much sense, but currently it errors since both entries in the array get rejected.
Configuration menu - View commit details
-
Copy full SHA for 7d1070b - Browse repository at this point
Copy the full SHA 7d1070bView commit details -
Fix
Style/ClassAndModuleChildren
cop error on tab-intended compacta……ble modules Before these changes most of weirdly-tab-intended programms like this ```ruby module A \tmodule B \tmodule C \tbody \tend \tend end ``` were producing this error ```bash Parser::ClobberingError: Parser::Source::TreeRewriter detected clobbering # ./lib/rubocop/cop/correctors/alignment_corrector.rb:48:in `autocorrect_line' # ./lib/rubocop/cop/correctors/alignment_corrector.rb:25:in `block in correct' # ./lib/rubocop/cop/correctors/alignment_corrector.rb:102:in `block in each_line' # ./lib/rubocop/cop/correctors/alignment_corrector.rb:101:in `each_line' # ./lib/rubocop/cop/correctors/alignment_corrector.rb:101:in `each_line' # ./lib/rubocop/cop/correctors/alignment_corrector.rb:24:in `correct' ``` This bug was found by `rubocop-nightly`.
Configuration menu - View commit details
-
Copy full SHA for f669bb1 - Browse repository at this point
Copy the full SHA f669bb1View commit details -
[Fix #14116] Make
Style/TrailingCommaInArguments
cop aware of trail……ing commans in `[]` method call Resolves #14116 This commit updates the `Style/TrailingCommaInArguments` cop to be aware of trailing commas in `[]` method calls.
Configuration menu - View commit details
-
Copy full SHA for c9d38e1 - Browse repository at this point
Copy the full SHA c9d38e1View commit details -
Fix
Lint/LiteralAsCondition
autocorrect when a literal is the condi……tion of an elsif followed by an else
Configuration menu - View commit details
-
Copy full SHA for da245af - Browse repository at this point
Copy the full SHA da245afView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4ad182c - Browse repository at this point
Copy the full SHA 4ad182cView commit details -
Configuration menu - View commit details
-
Copy full SHA for eeda3b2 - Browse repository at this point
Copy the full SHA eeda3b2View commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff v1.75.3...v1.75.4