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
b04834fbd328c9b1a84a61ef6d948eadd944ff3b authored almost 2 years ago by fatkodima <[email protected]>
Print locations of generated profile files when profiling rubocop
2033fa59070d6890d8585d5919230abe71500de4 authored almost 2 years ago by Koichi ITO <[email protected]>Print locations of generated profile files when profiling rubocop
2033fa59070d6890d8585d5919230abe71500de4 authored almost 2 years ago by Koichi ITO <[email protected]>3ecd55089f47684c66416dd38652e0e6691a734a authored almost 2 years ago by Koichi ITO <[email protected]>
3ecd55089f47684c66416dd38652e0e6691a734a authored almost 2 years ago by Koichi ITO <[email protected]>
2a91feb0c48f7a5c60a5f7ffda92d2753bba9f68 authored almost 2 years ago by fatkodima <[email protected]>
2a91feb0c48f7a5c60a5f7ffda92d2753bba9f68 authored almost 2 years ago by fatkodima <[email protected]>
856d73c467ddd07dcaa74a0f88aa94ae5ba4172a authored almost 2 years ago by Koichi ITO <[email protected]>
856d73c467ddd07dcaa74a0f88aa94ae5ba4172a authored almost 2 years ago by Koichi ITO <[email protected]>
4689b8ba25cdd45f56ab9bb12c82fdcfc7aa6289 authored almost 2 years ago by ydah <[email protected]>
4689b8ba25cdd45f56ab9bb12c82fdcfc7aa6289 authored almost 2 years ago by ydah <[email protected]>
675114c1b5a1999a112f8adaad8c99f8de6f7bcc authored almost 2 years ago by Bozhidar Batsov <[email protected]>
675114c1b5a1999a112f8adaad8c99f8de6f7bcc authored almost 2 years ago by Bozhidar Batsov <[email protected]>
a0d896a010f4d545147f2e1eaf2c75d900b1ba0c authored almost 2 years ago by Bozhidar Batsov <[email protected]>
a0d896a010f4d545147f2e1eaf2c75d900b1ba0c authored almost 2 years ago by Bozhidar Batsov <[email protected]>
ed786ab489102ac48197bb7b9753ab81236fc951 authored almost 2 years ago by Thomas Hareau <[email protected]>
ed786ab489102ac48197bb7b9753ab81236fc951 authored almost 2 years ago by Thomas Hareau <[email protected]>
Follow up #11689.
I read back through the configuration doc and noticed that the description of...
96911a9464cf2482b19a2b93345d8abaa1d97989 authored almost 2 years ago by Koichi ITO <[email protected]>Follow up #11689.
I read back through the configuration doc and noticed that the description of...
96911a9464cf2482b19a2b93345d8abaa1d97989 authored almost 2 years ago by Koichi ITO <[email protected]>Fix an error for `Gemspec/DependencyVersion`
e79974b8469f729fa0e293101bf094018c2d62b5 authored almost 2 years ago by Koichi ITO <[email protected]>Fix an error for `Gemspec/DependencyVersion`
e79974b8469f729fa0e293101bf094018c2d62b5 authored almost 2 years ago by Koichi ITO <[email protected]>
This PR fixes the following error for `Gemspec/DependencyVersion`
when `add_dependency` without ...
This PR fixes the following error for `Gemspec/DependencyVersion`
when `add_dependency` without ...
Here's another fix I found in work on #11688.
Ruby code has a syntax error and .rubocop.yml wit...
f0356375b74d3fe11ce9c4c03c30925e6a273695 authored almost 2 years ago by Koichi ITO <[email protected]>Here's another fix I found in work on #11688.
Ruby code has a syntax error and .rubocop.yml wit...
f0356375b74d3fe11ce9c4c03c30925e6a273695 authored almost 2 years ago by Koichi ITO <[email protected]>Follow up https://github.com/rubocop/rubocop/pull/11569.
d11e25fa886ca74278c700bb60655955bb85e5fd authored almost 2 years ago by Koichi ITO <[email protected]>Follow up https://github.com/rubocop/rubocop/pull/11569.
d11e25fa886ca74278c700bb60655955bb85e5fd authored almost 2 years ago by Koichi ITO <[email protected]>Fixes #11677.
This PR fixes the severity for `Lint/Syntax`. The `Lint/Syntax` severity must alw...
0fc26d81d23f2ca206823bef44f1d35a237de290 authored almost 2 years ago by Koichi ITO <[email protected]>Fixes #11677.
This PR fixes the severity for `Lint/Syntax`. The `Lint/Syntax` severity must alw...
0fc26d81d23f2ca206823bef44f1d35a237de290 authored almost 2 years ago by Koichi ITO <[email protected]>Fixes #11682.
This PR fixes a false positive for `Lint/UselessRescue`
when using `Thread#raise`...
Fixes #11682.
This PR fixes a false positive for `Lint/UselessRescue`
when using `Thread#raise`...
This commit fixes the following build error:
https://github.com/rubocop/rubocop/actions/runs/437...
This commit fixes the following build error:
https://github.com/rubocop/rubocop/actions/runs/437...
Style/AccessorGrouping: Fix sibling detection for methods with type sigs
1cd7cd22fbc79a066559d9b23577b279d9a4c3d9 authored almost 2 years ago by Koichi ITO <[email protected]>Style/AccessorGrouping: Fix sibling detection for methods with type sigs
1cd7cd22fbc79a066559d9b23577b279d9a4c3d9 authored almost 2 years ago by Koichi ITO <[email protected]>Improve `Naming/MethodName` example `AllowedPatterns`
43aa0cd1d416dd1acff432e0309dd01cd83b0c74 authored almost 2 years ago by Koichi ITO <[email protected]>Improve `Naming/MethodName` example `AllowedPatterns`
43aa0cd1d416dd1acff432e0309dd01cd83b0c74 authored almost 2 years ago by Koichi ITO <[email protected]>[Fix #11672] Fix an error for `Layout/BlockEndNewline`
f44b9e51efeaa38190b1d523d46cacaea596a397 authored almost 2 years ago by Koichi ITO <[email protected]>
None of the code paths lead to scenarios in which a method name could
possibly include leading o...
None of the code paths lead to scenarios in which a method name could
possibly include leading o...
- Over in `Homebrew/brew`, trying to enable this cop after
008506d59f094140636269aa588e32fb690...
- Over in `Homebrew/brew`, trying to enable this cop after
008506d59f094140636269aa588e32fb690...
Fix incorrect Style/HashSyntax autocorrection for assignment methods
6136ffd91e8d6fba22d6fb44ec8498a5d43537d0 authored almost 2 years ago by Koichi ITO <[email protected]>Fix incorrect Style/HashSyntax autocorrection for assignment methods
6136ffd91e8d6fba22d6fb44ec8498a5d43537d0 authored almost 2 years ago by Koichi ITO <[email protected]>Fixes #11672.
This PR fixes an error for `Layout/BlockEndNewline` when multiline block `}`
is n...
Fixes #11672.
This PR fixes an error for `Layout/BlockEndNewline` when multiline block `}`
is n...
In Ruby 3.1 and above, code like:
```ruby
object.attr = {foo: foo}
^^^ Omit...
In Ruby 3.1 and above, code like:
```ruby
object.attr = {foo: foo}
^^^ Omit...
This commit uses RuboCop RSpec 2.19 and suppresses the following new offenses:
```console
$ bun...
This commit uses RuboCop RSpec 2.19 and suppresses the following new offenses:
```console
$ bun...
07f6491f87ff3cfeb491f8d2d83937055b1c7472 authored almost 2 years ago by Bozhidar Batsov <[email protected]>
07f6491f87ff3cfeb491f8d2d83937055b1c7472 authored almost 2 years ago by Bozhidar Batsov <[email protected]>
8d3282647c43e38381b5640e218234f21242967b authored almost 2 years ago by Bozhidar Batsov <[email protected]>
8d3282647c43e38381b5640e218234f21242967b authored almost 2 years ago by Bozhidar Batsov <[email protected]>
36cc7765111c7ae030495fbfeaf539f700bacabf authored almost 2 years ago by Bozhidar Batsov <[email protected]>
36cc7765111c7ae030495fbfeaf539f700bacabf authored almost 2 years ago by Bozhidar Batsov <[email protected]>
af8b5f97fa0df91bb35be9f43061acf52b91330b authored almost 2 years ago by Jason Dougherty <[email protected]>
af8b5f97fa0df91bb35be9f43061acf52b91330b authored almost 2 years ago by Jason Dougherty <[email protected]>
Fix #11629
```ruby
# bad
File.zero?('path/to/file')
File.size('path/to/file') == 0
File.size('p...
f23e48762f2f690b09a79d50f7243aa0ca2f8fcf authored almost 2 years ago by fatkodima <[email protected]>
f23e48762f2f690b09a79d50f7243aa0ca2f8fcf authored almost 2 years ago by fatkodima <[email protected]>
Fix #11628
```ruby
# bad
Dir.entries('path/to/dir').size == 2
Dir.children('path/to/dir').empty...
Fix #11628
```ruby
# bad
Dir.entries('path/to/dir').size == 2
Dir.children('path/to/dir').empty...
Fixes #11663.
This PR fixes an incorrect autocorrect for `Style/BlockDelimiters`
when multi-lin...
Fixes #11663.
This PR fixes an incorrect autocorrect for `Style/BlockDelimiters`
when multi-lin...
Use cop name to check if cop inside registry is enabled
d8f67653acaf3bdfceeefc6d03393c6fe8705a5a authored almost 2 years ago by Koichi ITO <[email protected]>Use cop name to check if cop inside registry is enabled
d8f67653acaf3bdfceeefc6d03393c6fe8705a5a authored almost 2 years ago by Koichi ITO <[email protected]>Fix a false positive for `Lint/UselessAccessModifier` when using same access modifier inside and...
118542b8302b0733cb4bbf48968e8356d2cf5adb authored almost 2 years ago by Koichi ITO <[email protected]>Fix a false positive for `Lint/UselessAccessModifier` when using same access modifier inside and...
118542b8302b0733cb4bbf48968e8356d2cf5adb authored almost 2 years ago by Koichi ITO <[email protected]>This PR is fix a false positive for `Lint/UselessAccessModifier` when using same access modifier...
0d3c056965c1b23bc0200fed1205efa21ad55804 authored almost 2 years ago by ydah <[email protected]>This PR is fix a false positive for `Lint/UselessAccessModifier` when using same access modifier...
0d3c056965c1b23bc0200fed1205efa21ad55804 authored almost 2 years ago by ydah <[email protected]>84f54445456c8268df2b248e4df2f2f7d6e4aaf5 authored almost 2 years ago by fatkodima <[email protected]>
84f54445456c8268df2b248e4df2f2f7d6e4aaf5 authored almost 2 years ago by fatkodima <[email protected]>
This PR fixes an error for `Style/Documentation`
when namespace is a variable.
```ruby
m = Modu...
This PR fixes an error for `Style/Documentation`
when namespace is a variable.
```ruby
m = Modu...
Fix an incorrect autocorrect for `Lint/OrAssignmentToConstant`
7f96a01f0bdc13bd9fe5aafb8a5ca7c1ed7d7ca3 authored almost 2 years ago by Koichi ITO <[email protected]>Fix an incorrect autocorrect for `Lint/OrAssignmentToConstant`
7f96a01f0bdc13bd9fe5aafb8a5ca7c1ed7d7ca3 authored almost 2 years ago by Koichi ITO <[email protected]>
This PR fixes the following incorrect autocorrect for `Lint/OrAssignmentToConstant`
when using o...
This PR fixes the following incorrect autocorrect for `Lint/OrAssignmentToConstant`
when using o...
046cc54529c1db6da5431aa7634d17b88353b3e0 authored almost 2 years ago by fatkodima <[email protected]>
046cc54529c1db6da5431aa7634d17b88353b3e0 authored almost 2 years ago by fatkodima <[email protected]>
Update lib/rubocop/cop/style/if_unless_modifier.rb
Co-authored-by: Koichi ITO <[email protected]>
d0e84e2207cbae33ef8fc0fda3c2de3c99e5424e authored almost 2 years ago by nobuyo <[email protected]>Update lib/rubocop/cop/style/if_unless_modifier.rb
Co-authored-by: Koichi ITO <[email protected]>
d0e84e2207cbae33ef8fc0fda3c2de3c99e5424e authored almost 2 years ago by nobuyo <[email protected]>Follow part of https://github.com/rubocop/rubocop/pull/11619#issuecomment-1452021939.
This PR f...
b0f608a55d8112e4523bb9e18cd6006618812a24 authored almost 2 years ago by Koichi ITO <[email protected]>Follow part of https://github.com/rubocop/rubocop/pull/11619#issuecomment-1452021939.
This PR f...
b0f608a55d8112e4523bb9e18cd6006618812a24 authored almost 2 years ago by Koichi ITO <[email protected]>
- Sorbet `sig { returns(Integer) }` annotations above `attr_reader`
methods should be ignored ...
- Sorbet `sig { returns(Integer) }` annotations above `attr_reader`
methods should be ignored ...
This PR fixes an error for `Style/IfWithBooleanLiteralBranches`
when using `()` as a condition.
...
This PR fixes an error for `Style/IfWithBooleanLiteralBranches`
when using `()` as a condition.
...
This PR fixes an error for `Style/NegatedIfElseCondition`
when using `()` as a condition.
```ru...
8aa887d6bd4a6e2044cf7c9eb34b79a483b89a43 authored almost 2 years ago by Koichi ITO <[email protected]>
This PR fixes an error for `Style/NegatedIfElseCondition`
when using `()` as a condition.
```ru...
8aa887d6bd4a6e2044cf7c9eb34b79a483b89a43 authored almost 2 years ago by Koichi ITO <[email protected]>Fix incorrect shorthand autocorrections in calls inside parentheses
6a0d19513cf47362e1e451905767101fd4835170 authored almost 2 years ago by Koichi ITO <[email protected]>Fix incorrect shorthand autocorrections in calls inside parentheses
6a0d19513cf47362e1e451905767101fd4835170 authored almost 2 years ago by Koichi ITO <[email protected]>
If you happen to have a method call without parentheses that is inside
outer parentheses like th...
If you happen to have a method call without parentheses that is inside
outer parentheses like th...
f4537a436c55e505b5f7549db0fa972d97c89f0e authored almost 2 years ago by Bozhidar Batsov <[email protected]>
f4537a436c55e505b5f7549db0fa972d97c89f0e authored almost 2 years ago by Bozhidar Batsov <[email protected]>
94f743da70ad0d7e423d6c14d8185dcfefd024a2 authored almost 2 years ago by Bozhidar Batsov <[email protected]>
94f743da70ad0d7e423d6c14d8185dcfefd024a2 authored almost 2 years ago by Bozhidar Batsov <[email protected]>
9af59998b22fcafb018fb5e31267b19b1e3cbf8e authored almost 2 years ago by Bozhidar Batsov <[email protected]>