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
This reverts commit e1dbf29ea887a92bf48cb792fd6137ebead2ae1b.
RubyInstaller2 for Ruby 3.2 has n...
239abcf1a88c883dcdf3f2019fe52a1b1f1ee6b7 authored about 2 years agoThis reverts commit e1dbf29ea887a92bf48cb792fd6137ebead2ae1b.
RubyInstaller2 for Ruby 3.2 has n...
239abcf1a88c883dcdf3f2019fe52a1b1f1ee6b7 authored about 2 years agohttps://github.com/ruby/setup-ruby/pull/424 has been merged.
e1dbf29ea887a92bf48cb792fd6137ebead2ae1b authored about 2 years agohttps://github.com/ruby/setup-ruby/pull/424 has been merged.
e1dbf29ea887a92bf48cb792fd6137ebead2ae1b authored about 2 years ago7659d9d395317e010706849984d70c27bdee79cb authored about 2 years ago
7935008014f5fc9d8a573bde506aaf7802ceaf63 authored about 2 years ago
7935008014f5fc9d8a573bde506aaf7802ceaf63 authored about 2 years ago
7659d9d395317e010706849984d70c27bdee79cb authored about 2 years ago
36a412042efa034154a748ce4e0686c3cf67c400 authored about 2 years ago
36a412042efa034154a748ce4e0686c3cf67c400 authored about 2 years ago
This commit suppresses the following `Performance/RedundantStringChars` offense:
```console
% b...
This commit suppresses the following `Performance/RedundantStringChars` offense:
```console
% b...
Closes #11314.
Follow https://github.com/rubocop/rubocop/issues/11314#issuecomment-1362982236.
...
Closes #11314.
Follow https://github.com/rubocop/rubocop/issues/11314#issuecomment-1362982236.
...
8914266be47aea4bb46a0a5677e5ae32066af810 authored about 2 years ago
8914266be47aea4bb46a0a5677e5ae32066af810 authored about 2 years ago
Fixes #11204.
This PR fixes a false negative for `Lint/RedundantCopDisableDirective`
when using...
Fixes #11320.
This PR fixes a false positive for `Lint/RequireParentheses`
when assigning terna...
Fixes #11320.
This PR fixes a false positive for `Lint/RequireParentheses`
when assigning terna...
154031eb9a7ed2a9d406a6ba6b66ca0d4c0a479e authored about 2 years ago
154031eb9a7ed2a9d406a6ba6b66ca0d4c0a479e authored about 2 years ago
4fd14ff177d56787c2ccd0afcc610ea7ad1921b8 authored about 2 years ago
4fd14ff177d56787c2ccd0afcc610ea7ad1921b8 authored about 2 years ago
1fc41b0622488ef6e4db712dca23353765e0006b authored about 2 years ago
1fc41b0622488ef6e4db712dca23353765e0006b authored about 2 years ago
The following cases will result in a NoMethodError
if replaced with alias_method.
Therefore, it ...
The following cases will result in a NoMethodError
if replaced with alias_method.
Therefore, it ...
Resolve: https://github.com/rubocop/rubocop-rspec/issues/772
a5f4a9adabea496a4cf686e61d9d5f6f7ebf0d97 authored about 2 years agoResolve: https://github.com/rubocop/rubocop-rspec/issues/772
a5f4a9adabea496a4cf686e61d9d5f6f7ebf0d97 authored about 2 years ago0c5b1ec3cd23b240a0205e058795b8ddb8b0d65e authored about 2 years ago
0c5b1ec3cd23b240a0205e058795b8ddb8b0d65e authored about 2 years ago
Fix a false positive for `Naming/BlockForwarding` when the block argument is reassigned
dbffbf13d9e2a37a2282a25246fc7ea4771467ea authored about 2 years agoFix a false positive for `Naming/BlockForwarding` when the block argument is reassigned
dbffbf13d9e2a37a2282a25246fc7ea4771467ea authored about 2 years ago02660c46d190f1e6bac7de4bb507dd630ed78735 authored about 2 years ago
02660c46d190f1e6bac7de4bb507dd630ed78735 authored about 2 years ago
Fixes #11312.
This commit marks `Style/ConcatArrayLiterals` as unsafe.
8bb0c47e7a654a72dcfb7024083cbb4898cae03d authored about 2 years agoFixes #11312.
This commit marks `Style/ConcatArrayLiterals` as unsafe.
8bb0c47e7a654a72dcfb7024083cbb4898cae03d authored about 2 years agoFixes #11309.
This PR fixes a false positive for `Style/RedundantStringEscape`
when using a red...
Fixes #11309.
This PR fixes a false positive for `Style/RedundantStringEscape`
when using a red...
cc0a9f544c540679bbea39b500a43e2ed9983d66 authored about 2 years ago
cc0a9f544c540679bbea39b500a43e2ed9983d66 authored about 2 years ago
Fix an error for `Style/GuardClause` when using lvar as an argument of raise in `else` branch
d292722dd6b9156def1ef5b5b531856502174292 authored about 2 years agoFix an error for `Style/GuardClause` when using lvar as an argument of raise in `else` branch
d292722dd6b9156def1ef5b5b531856502174292 authored about 2 years agoFollow up: https://github.com/rubocop/rubocop/pull/11250#issuecomment-1359051959
dc4a1ebd038bf5dcea42e7ddefb3c3700703e392 authored about 2 years agoFollow up: https://github.com/rubocop/rubocop/pull/11250#issuecomment-1359051959
dc4a1ebd038bf5dcea42e7ddefb3c3700703e392 authored about 2 years agoFixes #11293.
This PR fixes a false negative for `Style/Documentation`
when using custom macro....
Fixes #11293.
This PR fixes a false negative for `Style/Documentation`
when using custom macro....
19d8feb910275b80f94bf403ae29362f6b9c9452 authored about 2 years ago
19d8feb910275b80f94bf403ae29362f6b9c9452 authored about 2 years ago
5545762d3409abe58c3ea8c6a448e7f4e293f90b authored about 2 years ago
5545762d3409abe58c3ea8c6a448e7f4e293f90b authored about 2 years ago
This PR makes `Style/IfWithSemicolon` aware of one line without `else` body:
```ruby
if cond; r...
This PR makes `Style/IfWithSemicolon` aware of one line without `else` body:
```ruby
if cond; r...
Fix: #11267
4661cafbfd2cf25f0e4b7d3b3b872479b60f8c44 authored about 2 years agoFix: #11267
4661cafbfd2cf25f0e4b7d3b3b872479b60f8c44 authored about 2 years ago8d0f75069fdc5ebf0441fa2675fa668dddc71e17 authored about 2 years ago
a143510152e40d1e95f6373db5642dfd50c32fe6 authored about 2 years ago
8d0f75069fdc5ebf0441fa2675fa668dddc71e17 authored about 2 years ago
a143510152e40d1e95f6373db5642dfd50c32fe6 authored about 2 years ago
This cop checks for redundant uses of double splat hash braces.
```ruby
# bad
do_something(**{f...
This cop checks for redundant uses of double splat hash braces.
```ruby
# bad
do_something(**{f...
e41543d90f044e966cc2b227d641fa2e64d098d6 authored about 2 years ago
e41543d90f044e966cc2b227d641fa2e64d098d6 authored about 2 years ago
2dc325c8b7b1403c0f3ccd467892821d668d578e authored about 2 years ago
2dc325c8b7b1403c0f3ccd467892821d668d578e authored about 2 years ago
Print `memory_profiler` report to the file
6c7bec01a68f7fdbf98f7d9462d9b1e3e99d3f66 authored about 2 years ago54de4f7417a0f307344f487a580ae24727d65959 authored about 2 years ago
54de4f7417a0f307344f487a580ae24727d65959 authored about 2 years ago
The "rails" gem is a metapackage that only contains the readme, license file and a list of depen...
fb0709b22c73ebc7c485b1bce0efe37b7cca20b7 authored about 2 years agoThe "rails" gem is a metapackage that only contains the readme, license file and a list of depen...
fb0709b22c73ebc7c485b1bce0efe37b7cca20b7 authored about 2 years ago
This PR fixes the following error for `Lint/NonAtomicFileOperation`
when use file existence chec...
This PR fixes the following error for `Lint/NonAtomicFileOperation`
when use file existence chec...
0d3ac232d20dcde92887352faedf1137d5bfc858 authored about 2 years ago
0d3ac232d20dcde92887352faedf1137d5bfc858 authored about 2 years ago
c0a16f6b9a7f6c2b4a001a72630413e02c5825d4 authored about 2 years ago
c0a16f6b9a7f6c2b4a001a72630413e02c5825d4 authored about 2 years ago
c7b46eab22d04e44bf88e737c24e38aa8b0816d6 authored about 2 years ago
c7b46eab22d04e44bf88e737c24e38aa8b0816d6 authored about 2 years ago
Update cops_metrics.adoc
413c7d824a497f9f1c44d24c25c2e0ebce04f401 authored about 2 years agoUpdate cops_metrics.adoc
413c7d824a497f9f1c44d24c25c2e0ebce04f401 authored about 2 years agoSmall inconsistencies in wording and grammar between metric cop descriptions.
363c91890a7fc1804928edf9a9c80adcfccc651a authored about 2 years agoSmall inconsistencies in wording and grammar between metric cop descriptions.
363c91890a7fc1804928edf9a9c80adcfccc651a authored about 2 years agoFixes #11284.
This PR fixes an incorrect autocorrect for `Style/WordArray`
when assigning `%w()...
Fixes #11284.
This PR fixes an incorrect autocorrect for `Style/WordArray`
when assigning `%w()...
90521b8581eddba41e5cf59bed34bc55cd73b9ca authored about 2 years ago
90521b8581eddba41e5cf59bed34bc55cd73b9ca authored about 2 years ago
561e4798b66da9de4c2b8cabcfbc6e92da7b7d36 authored about 2 years ago
561e4798b66da9de4c2b8cabcfbc6e92da7b7d36 authored about 2 years ago
fc8998be60c11ac61ecdbab27fabb18bab3f82e0 authored about 2 years ago
fc8998be60c11ac61ecdbab27fabb18bab3f82e0 authored about 2 years ago
Fixes #11266.
This PR fixes a false positive for `Style/RedundantConstantBase`
when enabling `L...
Fixes #11266.
This PR fixes a false positive for `Style/RedundantConstantBase`
when enabling `L...
Fixes #11277.
## Summary
Enforces the use of `Array#push(item)` instead of `Array#concat([item...
70bdf19c2268f29404c4c439137822dbeace0258 authored about 2 years agoFixes #11277.
## Summary
Enforces the use of `Array#push(item)` instead of `Array#concat([item...
70bdf19c2268f29404c4c439137822dbeace0258 authored about 2 years agoFix NoMethodError for Style/Documentation when a class nested under non-constant values
08ca8c6a2f5be3c4945c08265970d007415418fa authored about 2 years agoFix NoMethodError for Style/Documentation when a class nested under non-constant values
08ca8c6a2f5be3c4945c08265970d007415418fa authored about 2 years ago0c3a4278bab3b4cb8669072c9c2ed6c95d129a25 authored about 2 years ago
0c3a4278bab3b4cb8669072c9c2ed6c95d129a25 authored about 2 years ago
This option allows cops that it was added to to consider nodes "single
line" even if the last el...
Add some basic logic that allows for a more in depth documentatin of the
AllowMultilineFinalElem...