Ecosyste.ms: OpenCollective
An open API service for software projects hosted on Open Collective.
github.com/rubocop/rubocop
A Ruby static code analyzer and formatter, based on the community Ruby style guide.
https://github.com/rubocop/rubocop
1973badb1ca23c4419e88977ee60dac8acd2bbe8 authored 10 months ago by ydah <[email protected]>
134f4b0fb1f93d6631a2bb3b38d6188bbe4e0406 authored 10 months ago by ydah <[email protected]>
I debated adding requires like `debug` or `pry` but believe that would
do more harm than good.
R...
93cddecec5025fd3ef80c3accd388c294a292351 authored 10 months ago by ydah <[email protected]>
0c36dc6d27a653167dc02497298b55218dae1d44 authored 10 months ago by Bozhidar Batsov <[email protected]>
ed9b69edae0f69771e41de24d6f9cdef6ab03482 authored 10 months ago by Bozhidar Batsov <[email protected]>
a99fe78dd58b4fe8514cc8e765df70ab0772c3a9 authored 10 months ago by Bozhidar Batsov <[email protected]>
eceedb713aaba2fcf133943b67f924e3748633e8 authored 10 months ago by Earlopain <[email protected]>
The following test caused the loop: https://github.com/rubocop/rubocop/blob/5ee786dcadfa3c91096d...
8d2ef482fe6eb1163b15d4d6f4d7cdd643cfd24c authored 10 months ago by Earlopain <[email protected]>Fix a wrong offense message for `InternalAffairs/NodeMatcherDirective`
bb0dd97894f2b87d16fdbad379cb08cb2402b1d9 authored 10 months ago by Koichi ITO <[email protected]>Fix an error for `Style/For` with `EnforcedStyle: for` when no receiver
9b39a559883b6b682bfb85a92178f4fe95d841d5 authored 10 months ago by Koichi ITO <[email protected]>Fix an error for `Style/ClassVars` when calling `class_variable_set` without arguments
409c5a04096c635e079d327f65f896ccc9a4edfe authored 10 months ago by Koichi ITO <[email protected]>54dbee1ba10cb48e2fa0a4f701a7cefc6a7f66e4 authored 10 months ago by Earlopain <[email protected]>
94c17b839821116249f0941844531755e8a501d7 authored 10 months ago by Earlopain <[email protected]>
Fix an error for `Lint/RedundantWithIndex` when there is no receiver
5ee786dcadfa3c91096d9e81dcd16e4776ca6186 authored 10 months ago by Koichi ITO <[email protected]>Fix a false positive for `Style/NilComparison` without receiver and `EnforcedStyle: comparison`
1281bf02180b508c3b30031abeacf77451da5cb2 authored 10 months ago by Koichi ITO <[email protected]>
See https://github.com/rubocop/rubocop/pull/12753#issuecomment-1987246707
The directive method n...
aa97673a7eadbf47d76b4d5bfa1e3ef364160823 authored 10 months ago by Earlopain <[email protected]>
42884eed8474ccac34667dc2669d28097658f907 authored 10 months ago by Earlopain <[email protected]>
This commit removes this exit condition from `expect_correction`. It is now only considered done...
55cbc7f5ebff4bcbf5d28b86a9b817b4a8f10498 authored 10 months ago by Earlopain <[email protected]>Fix an error for `Layout/MultilineMethodCallIndentation` with safe navigation and assignment method
ca8b38ce3cfcebd2c23da6663357c0ba3b77b010 authored 10 months ago by Koichi ITO <[email protected]>[Fix #12710] Fix a false negative for `Layout/EmptyLineAfterMagicComment` when the file is comme...
167bad937a3d79758ee1444735792c6b91f45b97 authored 10 months ago by Koichi ITO <[email protected]>0ef0e31fcf34818adcf820d9ee68b5d5894dd2f7 authored 10 months ago by Earlopain <[email protected]>
5fb6047d8e0e87d369a558694e2611f9b3ac491d authored 10 months ago by Earlopain <[email protected]>
a1c67b34c03b557ba778b694d572f1e13183cdce authored 10 months ago by Bozhidar Batsov <[email protected]>
Fixes #12758.
This PR fixes false positives for `Layout/RedundantLineBreak`
when using `&&` or ...
[Fix #12663] Prevent `Lint/Syntax` being disabled by directive comments
5a4664c26da3a7a9b5ca94f23765f70393381892 authored 10 months ago by Koichi ITO <[email protected]>Fixes #12761.
This PR fixes a false positive for `Style/HashEachMethods`
when the key block arg...
[Fix #12665] Fix infinite loop for `InternalAffairs/NodeMatcherDirective` with class methods
6d39e70cee02806bc10e3054564a0326901109b1 authored 10 months ago by Koichi ITO <[email protected]>6f003738e8b8e6990016d103f613e0cd59ac9807 authored 10 months ago by Earlopain <[email protected]>
This would swallow the syntax error, making it look like the file is all good.
In reality all ot...
bf029b0af6f6cf238712e9ee2a6a24072a6ce597 authored 10 months ago by Koichi ITO <[email protected]>
1c99f9f44e0dbac366baac858589abf71ad5aef5 authored 10 months ago by Bozhidar Batsov <[email protected]>
Phase 1 of config auto-generation runs the `Layout/LineLength` cop on
all files to discover the ...
This fixes an issue mentioned in [this
comment](https://github.com/rubocop/rubocop/issues/12579#...
72a72cc09c7390460e0b40da59cb12b9811d5323 authored 10 months ago by David Runger <[email protected]>
Fix `RedundantCurrentDirectoryInPath` cop exception in case of `require_relative` without any ar...
abdbe1b9757ef978e52b82272744426892b1c423 authored 10 months ago by Koichi ITO <[email protected]>
Cop `RedundantCurrentDirectoryInPath` throws exception
upon encountering `requre_relative` invoc...
Fix an error for `Gemspec/RequiredRubyVersion` when the file is empty
6a4cf8132cf9112fa11d54ccb2bd4343fce6f8f6 authored 10 months ago by Koichi ITO <[email protected]>[Fix #12703] Fix an error for `Lint/MixedCaseRange` with invalid byte sequence in UTF-8
3118f00afdee52208b7e99f8f94bfa14a7cf4b4d authored 10 months ago by Koichi ITO <[email protected]>737f91219931e44d92e649ef678f569e9eb6dcb0 authored 10 months ago by Earlopain <[email protected]>
b3d3bb5f1770bd22e8a442034e2874a3eb2fa97b authored 10 months ago by Earlopain <[email protected]>
af3bdeb28fed2e295d1c1a90eace412d161c45b3 authored 10 months ago by Bozhidar Batsov <[email protected]>
92785ddcf63c8bb6c3449e4183ebb21311a867c9 authored 10 months ago by Bozhidar Batsov <[email protected]>
2d882c3f160fcbe2301b6b20716f1dada17e4d6c authored 10 months ago by Bozhidar Batsov <[email protected]>
Fixes #12746.
This PR fixes a false positive for `Lint/ToEnumArguments`
when enumerator is crea...
This should bust the gems cache and cause us to update from
rubocop-rspec 2.27.0 to 2.27.1 for C...
This change avoids an exception (NoMethodError: undefined method `value'
for an instance of Rubo...
Fixes #12740.
This PR tweaks annotation pattern for `expect_offense`.
When there is no space b...
07cad751e60a8f61a35943a8ccf7ae631ff4cfd2 authored 10 months ago by Koichi ITO <[email protected]>859f6fdab61c38f13bf79c270306a10b9607dcef authored 10 months ago by Koichi ITO <[email protected]>
Fixees #12738.
This PR fixes an error for `Style/Encoding`
when magic encoding with mixed case ...
Extract `without_excluded` from `process_explicit_path` to get
rid of the `Metrics/CyclomaticCom...
This change fixes an error that can occur when file names are
given explicitly on the command li...
Use `ParserEngine` parameter to parse gemspec
45cc74eb4b0256e987a6993614fccad272f54c89 authored 10 months ago by Koichi ITO <[email protected]>
There was remaining code where `ParserEngine` parameter was not used by `ProcessedSource`,
and P...
Fix invalid autocorrect in Layout/SpaceInsideHashLiteralBraces
6d4d87ab31bd100e63aacb8ff7c72cd1803581bd authored 10 months ago by Koichi ITO <[email protected]>A new version of RuboCop-RSpec seems to have been installed.
da20a4166ebed3b9948dda19dc508fba122edddc authored 10 months ago by Benjamin Quorning <[email protected]>7127a1b3b27afe90cef3243ee6efb78a597c952e authored 10 months ago by Benjamin Quorning <[email protected]>
Reverts #12680.
#12680's issue has been resolved by https://github.com/ruby/optparse/commit/78a...
c1c320b273b687c5066739a310377c7a1f283d3e authored 10 months ago by Koichi ITO <[email protected]>Resolves #12600.
This is the initial basic implementation to support multiple parser engines.
I...
[Fix #12726] Fix a false positive for `Style/RedundantLineContinuation`
bebe435d911356f09bee49014f94f2da86ff4874 authored 10 months ago by Koichi ITO <[email protected]>
This PR uses RuboCop RSpec to 2.27 and suppresses
new `RSpec/DescribedClass` and `RSpec/Repeated...
Fixes #12726.
This PR fixes a false positive for `Style/RedundantLineContinuation`
when using l...
RuboCop AST 1.31 supports Ruby 3.4.
https://github.com/rubocop/rubocop-ast/pull/276
This PR sup...
90b4283300382eb9647d7608d33f9efca5bcdfb5 authored 10 months ago by Koichi ITO <[email protected]>461a4c9da591bb53f1182484b0179fc527de7878 authored 10 months ago by Bozhidar Batsov <[email protected]>
45ba7790b3c6fc37c0b83693513c4dadd619d1ed authored 10 months ago by Bozhidar Batsov <[email protected]>
0882ca91f7a73ca0eca34759908730fdf477eaa0 authored 10 months ago by Bozhidar Batsov <[email protected]>
This change was meant to be in #12711.
87b3b4db9f1a315f30316c2b45547b531d1e5ab8 authored 10 months ago by Sam Bostock <[email protected]>This change was meant to be in #12711.
f15152468c627794a839c7c12ae37766199d664f authored 10 months ago by Sam Bostock <[email protected]>Follow https://github.com/rubocop/rubocop/pull/10424.
Ruby 3.1+ (Psych 4) uses `Psych.load` as ...
8acce2851bbd59d44a18becf2bc919cd26b49db2 authored 10 months ago by Koichi ITO <[email protected]>Add specs for `Style/ArgumentsForwarding`
b4cc30544e8349054b27ffbb0108aa0bfe5c4747 authored 10 months ago by Koichi ITO <[email protected]>
This PR adds specs for `Style/ArgumentsForwarding`, which adds missing tests due to
the incorrec...
Previously, we would attempt to call `node.receiver.source`, but
`node.receiver` could be `nil`....
To make sure we don't have a different, more strict definition of what
constitutes a rubocop:dis...
This PR fixes a false positive for `Style/ArgumentsForwarding`
when using block arg forwarding t...
This PR fixes false negatives for `Style/ArgumentsForwarding`
when using forwardable block argum...
Test code expected to work with `TargetRubyVersion: 3.0` was being run with `TargetRubyVersion: ...
b29ff483b8d97525c92bc8712dae606cbac07ba3 authored 10 months ago by Koichi ITO <[email protected]>Fixes #12714.
This PR fixes an error for `Gemspec/RequiredRubyVersion`
when `required_ruby_vers...
The intention of the tests requires quoting the heredoc identifier.
029984ac1c5b49889fbc38e0dfabac702a9f57ec authored 10 months ago by Koichi ITO <[email protected]>`a 1,next,1` has been a syntax error since at least Ruby 2.0:
```console
$ ruby -vce 'a 1,next,...
ee6f0f980cfd5a8e927775a49d5ac0bc088ee9d3 authored 10 months ago by Karl Heitmann <[email protected]>
8c4f8098021a2a5dfc06ee136cc89da4e94576e2 authored 10 months ago by Karl Heitmann <[email protected]>
The provious commit introduced `Metrics/MethodLength` and `Metrics/AbcSize`
offenses. Extract a ...
The `Layout/SpaceBeforeBlockBraces` cop has two separate style parameters,
`EnforcedStyle` and `...
Fix spelling
98ad0452913bff00cbfe960c84e05a581899ad6e authored 10 months ago by Jonas Arvidsson <[email protected]>A spelling mistake that I made. The change was already merged when I was made aware of it.
df79916c5fddf89005a49ee149ce1767da4d25b6 authored 10 months ago by Jonas Arvidsson <[email protected]>`_1 = 1` is a deprecated valid syntax in Ruby 2.7, but an invalid syntax in Ruby 3.0+.
## Ruby ...
087cafa4803977a29888ae29a0c75b2de4d37a0f authored 10 months ago by Koichi ITO <[email protected]>[Fix #12695] Handle Include from inherited file in parent directory
32467d4c04e92139f530eb8aac82d41497aa9537 authored 10 months ago by Koichi ITO <[email protected]>
When we inherit configuration from a file in a parent or ancestor
directory, and that file is ca...
Fix false negative for `Style/RedundantAssignment`
4c5fce158f86728644671d73b9ddf21cde74ee46 authored 10 months ago by Koichi ITO <[email protected]>
This PR fixes false negative for `Style/RedundantAssignment`
when using pattern matching.
This PR tweaks the doc for `Style/ConditionalAssignmentHelper`.
In #2480, the cop has been updat...
1d4303567c58161335bf6729e5e0c3aa4f1e1a6c authored 10 months ago by Koichi ITO <[email protected]>
1666278a8587bb9982fcdb198c1395fd9af93f50 authored 10 months ago by Koichi ITO <[email protected]>
876a49d6fb3e0060c734eb40cd6660adf63cf77e authored 10 months ago by Koichi ITO <[email protected]>
Follow https://github.com/rubocop/rubocop/pull/12700#issuecomment-1949764386
This PR supports s...
2b013e123485102a790e44fc0b934aae1c625f6a authored 10 months ago by Koichi ITO <[email protected]>
This PR fixes false positives for `InternalAffairs/MethodNameEndWith`
when using `method_name` w...
[Fix #12690] Fix an error for `Style/CaseLikeIf`
b5cccc7130920151e120b3a5d9b68ca825a5a8b4 authored 10 months ago by Koichi ITO <[email protected]>Resolves #12699
This PR supports searching for `.rubocop.yml` in compliance with dot-config.
[...
97467271431cf6db6a134b4398fe8f09db8bbb31 authored 10 months ago by Koichi ITO <[email protected]>