Ecosyste.ms: OpenCollective
An open API service for software projects hosted on Open Collective.
RuboCop
We are on a mission to bring consistent code style to all Ruby projects (and prevent some mistakes).
Collective -
Host: opensource -
https://opencollective.com/rubocop
- Code: https://github.com/bbatsov/rubocop
[Fix #12693] Fix an incorrect autocorrect for `Style/ObjectThen`
github.com/rubocop/rubocop - 948a6ed6fcd431d9d02c68e3199d77468e0dbcc5 authored 10 months ago by Koichi ITO <[email protected]>[Fix #12691] Fix an error for `Style/MultilineTernaryOperator`
github.com/rubocop/rubocop - e8df84bd8a3eff5e6ed29bcabd58525befb30e1d authored 10 months ago by Koichi ITO <[email protected]>Fixes #12691.
This PR fixes an error for `Style/MultilineTernaryOperator`
when nesting multilin...
Fixes #12690.
This PR fixes an error for `Style/CaseLikeIf`
when using `==` with literal and us...
Fixes #12693.
This PR fixes an incorrect autocorrect for `Style/ObjectThen`
when using `yield_s...
Fixes #12649.
This PR fixes false positives for `Style/InverseMethods`
when using relational co...
Fixes #12687.
This PR fixes a false positive for `Lint/Void` when
`each` block with conditional...
This PR adds new `InternalAffairs/RedundantExpectOffenseArguments` cop,
which checks for redunda...
[Fix #12683] Fix an incorrect autocorrect for `Style/MapCompactWithConditionalBlock`
github.com/rubocop/rubocop - 1acdaefb146c472ed92919444bccdb88cdade099 authored 10 months ago by Koichi ITO <[email protected]>Fixes #12683
This PR fixes an incorrect autocorrect for `Style/MapCompactWithConditionalBlock`
...
Follow up https://github.com/rubocop/rubocop/pull/12657#issuecomment-1937084864.
This PR adds `...
github.com/rubocop/rubocop - 1dac6a4e20ab8b66bf0c0269b085a4191c0fce98 authored 10 months ago by Koichi ITO <[email protected]>## Summary
This PR introduces `AutoCorrect: contextual` option that prevents autocorrection
dur...
This PR avoids redundant repetitive `parse` for `Style/RedundantArgument`.
Similar to #12677 an...
github.com/rubocop/rubocop - 8b3656d6e5e5685dc28dc8c57efa19ee2e9092f0 authored 11 months ago by Koichi ITO <[email protected]>Make an options_spec as pending when using Ruby 3.4.0dev
github.com/rubocop/rubocop - f9a6d2d973d9bb9b78fe4e9c11538bece53f043f authored 11 months ago by Koichi ITO <[email protected]>This PR makes the following options_spec as pending when using Ruby 3.4.0dev.
```console
$ ruby...
This PR fixes the following error `Style/RedundantLineContinuation` when using `Prism::Translati...
github.com/rubocop/rubocop - 81ccef985a914f647e36bc956ea8c14755858d82 authored 11 months ago by Koichi ITO <[email protected]>Fixes #12273.
This PR makes `OffenseCountFormatter` display autocorrection information.
This s...
github.com/rubocop/rubocop - 775852c35e14db23f4a65ab9a1c6cd2b0692832f authored 11 months ago by Koichi ITO <[email protected]>This is similar to detection #12246.
This PR fixes false negatives for `Lint/RedundantSafeNavig...
github.com/rubocop/rubocop - 6b516d01e7c0958441ef03abb903fab454d757ac authored 11 months ago by Koichi ITO <[email protected]>`RuboCop::Cop::Base.enable_lsp_mode` will be renamed to `RuboCop::LSP.enable`.
Before:
```ruby...
github.com/rubocop/rubocop - 3f9a75aebcc28f11d8e3a93ae3e14c3f64a75136 authored 11 months ago by Koichi ITO <[email protected]>
WebMock 3.20.0 has been released:
https://github.com/bblimke/webmock/blob/master/CHANGELOG.md#32...
Fix false negatives for `Style/RedundantReturn`
github.com/rubocop/rubocop - 9b87c88c02c0b0f7c1c39f21c5f1000d286d245f authored 11 months ago by Koichi ITO <[email protected]>This PR fixes the following error `Style/HashSyntax` when using `Prism::Translation::Parser` as ...
github.com/rubocop/rubocop - 1488e1ff7b499664596040ce8a6d15e41aa97e53 authored 11 months ago by Koichi ITO <[email protected]>This PR fixes false negatives for `Style/RedundantReturn` when using pattern matching.
github.com/rubocop/rubocop - 42e46805b1f303c5ab65f5961b4b3f4fb2b09027 authored 11 months ago by Koichi ITO <[email protected]>This commit replaces the generic and verbose `Parser::Source::Range.new` with the dedicated API.
github.com/rubocop/rubocop - 3a03c799f2a69b81885ad8a982b1481d5ef1dc44 authored 11 months ago by Koichi ITO <[email protected]>github.com/rubocop/rubocop - c3ea782e490a7c7f1eb955459f010216194bf750 authored 11 months ago by Koichi ITO <[email protected]>
[Fix #12668] Fix an incorrect autocorrect for `Lint/EmptyConditionalBody`
github.com/rubocop/rubocop - 81b5d3eae698ff6296235e9c4917136257ab1baa authored 11 months ago by Koichi ITO <[email protected]>Fixes #12668.
This PR fixes an incorrect autocorrect for `Lint/EmptyConditionalBody`
when missi...
github.com/rubocop/rubocop - 3f24b822a37f08e54a3e076e3a091f808adc6fa9 authored 11 months ago by Koichi ITO <[email protected]>
github.com/rubocop/rubocop - 36a6b885448c3f5c1652345d9afdc3cce5edd79b authored 11 months ago by Koichi ITO <[email protected]>
Resolve Fixme in Gemfile, remove bigdecimal
github.com/rubocop/rubocop - c27c74ef47b955fab6ccb844f19e4db44ca7217a authored 11 months ago by Koichi ITO <[email protected]>
This is a follow up on https://github.com/rubocop/rubocop/pull/12153 .
The mentioned PR was merg...
github.com/rubocop/rubocop - 573b23bdaec2e0cc4787764117ae1fc38bfeaff5 authored 11 months ago by Maruth Goyal <[email protected]>
This PR tweaks an error message of `ConfigValidator` when the config is invalid:
## Before
```...
github.com/rubocop/rubocop - b6ee1c20a553e13c404b0b48137a17120a64e176 authored 11 months ago by Koichi ITO <[email protected]>Fix an error for `Layout/RedundantLineBreak`
github.com/rubocop/rubocop - bededcc93132938aeb10b885d7056bea87c4f3eb authored 11 months ago by Koichi ITO <[email protected]>
This PR fixes the following error for `Layout/RedundantLineBreak` when using
index access call c...
Check gemspec `required_ruby_version` before `.ruby-version` and other sources
github.com/rubocop/rubocop - d1746bedda902662d2d2fc5225982dca936990e0 authored 11 months ago by Koichi ITO <[email protected]>Reverts #12644.
It's been a few days since the introduction, but there are false reports of the...
github.com/rubocop/rubocop - 3e31e45c3eb7395be601e0b27ead885b4074046a authored 11 months ago by Koichi ITO <[email protected]>github.com/rubocop/rubocop - 02b2c3a461f197134cb1d7e1bf693c4e3902e8de authored 11 months ago by Jenny Shen <[email protected]>
Currently, `AutoCorrect` parameter is not configured, therefore there's no problem.
But, this pa...
Fix numblock regressions in `omit_parentheses` Style/MethodCallWithArgsParentheses`
github.com/rubocop/rubocop - 91bc38c7306adb07c62129db1614f67b941685b9 authored 11 months ago by Koichi ITO <[email protected]>
My last change was trying to fix an edge case where RuboCop wanted us to
remove parentheses in t...
The original LSP mode determination relied on the `--lsp` command-line argument,
making it hard ...
It was breaking bundler locally for me with the following error:
[!] There was an error parsing...
github.com/rubocop/rubocop - 8a000a304090740fd599a86e63dc8b0d81f176bf authored 11 months ago by Bozhidar Batsov <[email protected]>github.com/rubocop/rubocop - 1f277665d506b65f1c3819e0229ebe70554d3ea6 authored 11 months ago by Bozhidar Batsov <[email protected]>
github.com/rubocop/rubocop - fbf41c6b2f2a3b80f0c5bb91c65080888d1e6c1e authored 11 months ago by r7kamura <[email protected]>
github.com/rubocop/rubocop - edb56c927d4d1112a9c02990da31767e68d2121c authored 11 months ago by Bozhidar Batsov <[email protected]>
github.com/rubocop/rubocop - f00679b93e118a81d53cf97d6459e6498336b710 authored 11 months ago by Bozhidar Batsov <[email protected]>
Fixes https://github.com/rubocop/rubocop/issues/12534#issuecomment-1871676010.
This PR fixes fa...
github.com/rubocop/rubocop - 05730f51eb83c2eb681a2a7d578c7d1a79814072 authored 11 months ago by Koichi ITO <[email protected]>github.com/rubocop/rubocop - c5a705279e2fccd339d6edb3e528464e5f401e78 authored 11 months ago by OKURA Masafumi <[email protected]>
This PR proposes to update the Compatibility Policy.
There are major version incompatibilities ...
github.com/rubocop/rubocop - 996c6be4b19a0b6819474df8639a95bf771b5d7b authored 11 months ago by Koichi ITO <[email protected]>Fixes #12632.
This PR fixes an infinite loop error when `EnforcedStyle: explicit` of
`Naming/Bl...
Fixes #12638.
There is a possibility of a race condition occurring with the status file
when us...
This commit prevents unintended hyphens from being displayed instead of highlights:
https://docs...
Fix an error for `Style/HashEachMethods` when a block with both parameters has no body
github.com/rubocop/rubocop - c3921c0988d23c994a705eae08fc2c8983455106 authored 11 months ago by Koichi ITO <[email protected]>github.com/rubocop/rubocop - 17f5fcff76e4e3784d8e42f0c0cc82908f777042 authored 11 months ago by Earlopain <[email protected]>
Fix a false positive for `Style/HashEachMethods` when both arguments are unused
github.com/rubocop/rubocop - 54c3f61a2e3db697394652d11d52f6620b481f1e authored 11 months ago by Koichi ITO <[email protected]>Follow up https://github.com/rubocop/rubocop/pull/12624#discussion_r1454736589
This PR fixes fa...
github.com/rubocop/rubocop - d4229d35bdf615d8222327c126860cdc916800a0 authored 11 months ago by Koichi ITO <[email protected]>Fix a false positive for `Style/ArgumentsForwarding`
github.com/rubocop/rubocop - 4ad4b95c538a42c5d4eff48b34c83d8e8de02416 authored 11 months ago by Koichi ITO <[email protected]>[Fix #12627] Fix a false positive for `Layout/RedundantLineBreak`
github.com/rubocop/rubocop - 20353dc2ced595d9faa7c31ff202e9bde8128cc5 authored 11 months ago by Koichi ITO <[email protected]>`Lint/UnusedBlockArgument` should instead say something about this:
github.com/rubocop/rubocop - 210c4d361a749ea77766381983f605917e1109b6 authored 11 months ago by Earlopain <[email protected]>Fix #12627.
This PR fixes a false positive for `Layout/RedundantLineBreak`
when using index acc...
Fix a build error on windows mingw matrix
github.com/rubocop/rubocop - 2b27ed86b5270715a70fa3899a586af9b5797388 authored 11 months ago by Koichi ITO <[email protected]>This PR fixes the following build error on windows mingw matrix:
```console
D:/a/rubocop/ruboco...
Resolves https://github.com/rubocop/rubocop/issues/12618#issuecomment-1896303457.
This PR fixes...
github.com/rubocop/rubocop - 4b6ad5cbe3a0a58d2090afd6f69b841ac16a0d75 authored 11 months ago by Koichi ITO <[email protected]>Fixes https://github.com/rubocop/rubocop/issues/12618#issuecomment-1896227199.
This PR fixes a ...
github.com/rubocop/rubocop - 14119589b2e3a7be13f2542ad9ae0d3515fdda76 authored 11 months ago by Koichi ITO <[email protected]>github.com/rubocop/rubocop - f0e89c976cd56330b4f95c82dc4f9aacacfeff25 authored 11 months ago by Bozhidar Batsov <[email protected]>
github.com/rubocop/rubocop - 1f507c9a4fbde88058e504480b7ca2864b7aacd3 authored 11 months ago by Bozhidar Batsov <[email protected]>
github.com/rubocop/rubocop - 356b6cb91cc9b06d334ab225e9132df0307277dd authored 11 months ago by Bozhidar Batsov <[email protected]>
Fixes #12618, #12619, #12620, and #12621.
This PR fixes false positives for `Style/ArgumentsFor...
github.com/rubocop/rubocop - 936895d67bf119abf4c08610005661c32d31422f authored 11 months ago by Koichi ITO <[email protected]>Add Errno::EROFS exception handling for read-only file systems
github.com/rubocop/rubocop - 927a220b72700093b42f9df09d0148969fd5a9ba authored 11 months ago by Koichi ITO <[email protected]>github.com/rubocop/rubocop - d0dccdd71f759573335658e706937c96be2b308a authored 11 months ago by Strzesia <[email protected]>
Resolves #12617.
This PR makes `Style/CollectionCompact` aware of `grep_v` with nil.
github.com/rubocop/rubocop - ef7f54ecd48b72e10c93bc509bceae2276ae035b authored 11 months ago by Koichi ITO <[email protected]>Fixes #12614.
This PR fixes false positiveis for `Style/RedundantParentheses`
when parentheses ...
github.com/rubocop/rubocop - ce906c679e225b5f434950e2991a64a0534aea13 authored 11 months ago by Koichi ITO <[email protected]>
github.com/rubocop/rubocop - 56e88bb824fa4699b0e7d6af22afd8943daf8d84 authored 11 months ago by Bozhidar Batsov <[email protected]>
github.com/rubocop/rubocop - 84ee480111ac430c91535d49b01f24ba115d07a9 authored 11 months ago by Bozhidar Batsov <[email protected]>
github.com/rubocop/rubocop - 6a83571276cd95a1ff4d4065cb5381789559c23f authored 11 months ago by Koichi ITO <[email protected]>
GitHub is a single word, as represented by github.com.
github.com/rubocop/rubocop - d58940bb6ab5c88dd8b3aa73217cbd0588cfa01d authored 11 months ago by Koichi ITO <[email protected]>Follow up https://github.com/rubocop/ruby-style-guide/pull/939
github.com/rubocop/rubocop - 6d829af807d29bee5ad51406ead53ce543a5a3bb authored 11 months ago by Koichi ITO <[email protected]>Closes https://github.com/rubocop/rubocop/issues/12401.
github.com/rubocop/rubocop - 172937ed1e353de5269deb1669f8896c845c3e15 authored 11 months ago by Koichi ITO <[email protected]>github.com/rubocop/rubocop - c51dfeca84f68d72130a5b60ed85fc017cc38106 authored 11 months ago by Kobus Post <[email protected]>
github.com/rubocop/rubocop - 4e392b289b88c2aafba9900af1c883cbe4c6d692 authored 11 months ago by Kobus Post <[email protected]>
Fixes #12601.
This PR makes `Style/EachForSimpleLoop` accept block with no parameters.
This is...
github.com/rubocop/rubocop - b36fe4adff4c15354c1a64c57ad9e97a01fcbf48 authored 11 months ago by Koichi ITO <[email protected]>github.com/rubocop/rubocop - 075d4d5d7597c2b179a90f76a2a9fc886465ecb9 authored 11 months ago by marocchino <[email protected]>
Accept parentheses in argument calls with blocks
github.com/rubocop/rubocop - b9d793a7609c481feb19943b9ddcb4b7e4da277a authored 11 months ago by Koichi ITO <[email protected]>
In `Style/MethodCallWithArgsParentheses` with `omit_parentheses` enforced
style we need to allow...
Fixes #12571.
This PR fixes false positives for `Naming/BlockForwarding`
when using explicit bl...
Fixes https://github.com/rubocop/rubocop/issues/12571#issuecomment-1870575888.
This PR fixes fa...
github.com/rubocop/rubocop - 730c4a9f22e76e2c2a4aa6f509406b5fc56e2880 authored 12 months ago by Koichi ITO <[email protected]>Fixes #11033.
## Summary
This PR changes warning message for `Lint/Syntax` between LSP and the...
github.com/rubocop/rubocop - 86822c3a74cd7ed5fdc21f9200366613b3267265 authored 12 months ago by Koichi ITO <[email protected]>Fixes #12233.
This PR makes `Style/SlicingWithRange` aware of redundant and beginless range.
R...
github.com/rubocop/rubocop - 39484b81005040aed438983ec0e5384ef907ef33 authored 12 months ago by Koichi ITO <[email protected]>Fixes #12437.
This PR fixes an infinite loop error for `EnforcedStyle: omit_parentheses` of
`St...
This PR fixes a false positive for `Style/RedundantParentheses`
when regexp literal attempts to ...
Require Parser 3.3.0.2 or higher
github.com/rubocop/rubocop - 5f3112c186246039fafdebbc025cd89da27f6e04 authored 12 months ago by Koichi ITO <[email protected]>[Fix #12603] Fix an infinite loop error for `Style/MultilineTernaryOperator`
github.com/rubocop/rubocop - 5cd23f889d24c4b99305db980dbaddf0134554bb authored 12 months ago by Koichi ITO <[email protected]>Fixes #12603.
This PR fixes an infinite loop error for `Style/MultilineTernaryOperator`
when us...
There is no context provided in the introduction of #9240.
github.com/rubocop/rubocop - 753a82c8abee64afb557add55ce3a21f3a3b366a authored 12 months ago by Koichi ITO <[email protected]>[Fix #12179] Generate Exclude when Max is overridden
github.com/rubocop/rubocop - 3ce4fbfa8865740d963772d6ecd926cf9c5b0893 authored 12 months ago by Koichi ITO <[email protected]>Ruby 3.3 and Parser 3.3.0.2 have been released.
- https://www.ruby-lang.org/en/news/2023/12/25/...
github.com/rubocop/rubocop - 55e9e70bbeea7f1949e01aaf6e858364f70bb94d authored 12 months ago by Koichi ITO <[email protected]>
Parser gem 3.3.0.2 has been released.
So, this reverts commit 5b08ee481cc54f293b9815115511288f71...
Workaround for an error when parsing heredoc with non-word delimiters
github.com/rubocop/rubocop - cdc7f02e1e06c6d7a6af9edc768a2a319af35114 authored 12 months ago by Koichi ITO <[email protected]>