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 PR fixes a false positive for `Style/CollectionCompact` when using `reject`
on hash to reje...
This commit tweaks example to clarify the diff for the `AllowMultilineFinalElement` difference.
8dfe1b473d8e6083dded2c10cba0da6ab2354e69 authored over 1 year ago by Koichi ITO <[email protected]>Fixes #11792.
This PR fixes an error for `Lint/DuplicateMatchPattern`
when using hash pattern w...
5befa36ac81c1c9e33abeabc8940b878ccc78a72 authored over 1 year ago by Bozhidar Batsov <[email protected]>
dd97afff88f419bb8307e29faf49cb96e03c2c55 authored over 1 year ago by Bozhidar Batsov <[email protected]>
d012208207d0dc3e1f939e6f364d68414d85cd26 authored over 1 year ago by Bozhidar Batsov <[email protected]>
4524ec4a73d424858ad7ba3f1df69f24e3c62b02 authored over 1 year ago by Bozhidar Batsov <[email protected]>
Fixes #11787
This PR fixes a false positive for `Lint/DuplicateMatchPattern`
when repeated `in`...
This PR fix false negatives for `Style/ParallelAssignment` when Ruby 2.7+.
Because AST changed b...
The following syntax changes in Ruby 2.7, so the offense highlight range
of `Style/RescueModifie...
Fixes #11783.
This PR fixes a false positive for `Style/RedundantLineContinuation`
using line c...
121ffc742ab7c16b3ecbba591fd2727d217f93ca authored almost 2 years ago by Bozhidar Batsov <[email protected]>
b71808e7d26885625c91d49a9d001af166030c87 authored almost 2 years ago by Bozhidar Batsov <[email protected]>
fbf99491e76dd7edf04a286eb418b60190963a2f authored almost 2 years ago by Bozhidar Batsov <[email protected]>
This PR makes `Lint/RedundantStringCoercion` aware of print method arguments.
The name of this c...
This PR adds specs redandant `SafeAutoCorrect: true` and `AutoCorrect: true` config:
And it remo...
It should be specified as 1.17.0 instead of 1.17.
And 1.17.0 has a bug in the default configurat...
f06037902db4a5543a00363e95e4703e037b84d3 authored almost 2 years ago by Koichi ITO <[email protected]>
This PR makes `Metrics/ClassLength` aware of singleton class.
It can detect singleton class leng...
Make `Style/TrailingBodyOnClass` aware of singleton class
78d5dd552cc1a4fe7e374b71c6c3654baa0480dc authored almost 2 years ago by Koichi ITO <[email protected]>
This PR makes `Style/TrailingBodyOnClass` aware of singleton class.
So, singleton class can be h...
It is necessary to consider how to handle module better,
but singleton class (`class << self`) c...
Follow up https://github.com/rubocop/rubocop/pull/11764/files#r1160104245
b1d26463f11f72d0dba8756c2db0f0b8062ef457 authored almost 2 years ago by Koichi ITO <[email protected]>Fixes #11765.
This PR fixes an error for `Style/MultilineMethodSignature`
when line break after...
Remove redundant `SafeAutoCorrect: false`
f3255797ee094c69fe4ae4bf5315d601ed182cdb authored almost 2 years ago by Koichi ITO <[email protected]>This PR remove `SafeAutoCorrect: false` from `Style/FileEmpty`, `Style/NumericPredicate` and upd...
6d60c6ae7a6c1df8af86d7b5ef350c2610f4b3eb authored almost 2 years ago by ydah <[email protected]>
When generating documentation, the `#{Dir.pwd}/docs/modules/ROOT/pages/`
string is created in a ...
When creating documentation on a RuboCop plugin for the very first time, the
docs/modules/ROOT/p...
Follow up https://github.com/rubocop/rubocop/pull/11759#discussion_r1157459282.
f1e5b6951de795048c286d3c0cf92236efd9275c authored almost 2 years ago by Koichi ITO <[email protected]>Fixes #11762.
This PR fixes an incorrect autocorrect for `Style/ClassEqualityComparison`
when c...
Fixes #11758.
This PR fixes a false positive for `Style/RedundantLineContinuation`
when line co...
Fix a false positive for `Style/RedundantLineContinuation`
7c35167233e567cd0bad3879974de787b3c372bd authored almost 2 years ago by Koichi ITO <[email protected]>Follow up https://github.com/rubocop/rubocop/pull/11694#issuecomment-1493936758
This PR fixes a...
52bddf64b48da81962b5452b9044aebde1188288 authored almost 2 years ago by Koichi ITO <[email protected]>Fix a false positive for `Style/RedundantLineContinuation` when using `&&` and `||` with a multi...
f7a9a26513b9578f61da7c4a17f51133c86aaf6d authored almost 2 years ago by Koichi ITO <[email protected]>
Follow up: https://github.com/rubocop/rubocop/pull/11694#issuecomment-1494003899
This PR fixes ...
This PR adds new `Lint/DuplicateMatchPattern` cop.
It checks that there are no repeated patterns...
b418061c06370237546be26d76ad227825c34409 authored almost 2 years ago by Bozhidar Batsov <[email protected]>
This PR is a follow-up to #11122.
cc1ab9a204f1cedd81a2332c1427949e95cd0e11 authored almost 2 years ago by Yudai Takada <[email protected]>a0c7b8a01c63c71bb3f9a56e295fdce9c77dcf22 authored almost 2 years ago by Bozhidar Batsov <[email protected]>
e534bd174f6cbb7cff461a39f15f6b2a7d4ebe2f authored almost 2 years ago by Bozhidar Batsov <[email protected]>
e72b491a4d74d794a5413c4365c557a8b6689c5d authored almost 2 years ago by Bozhidar Batsov <[email protected]>
[Fix #11696] Add new `Style/DataInheritance` cop
bf33f2f00ec391bfe85c297776d2c922194f695a authored almost 2 years ago by Koichi ITO <[email protected]>Make `Metrics/BlockNesting` aware of numbered parameter
8c53464fa6e62d928c725b2155c7ce7a9bf80234 authored almost 2 years ago by Koichi ITO <[email protected]>bc42301be69c4047c3f55e44c8d0356ad345756e authored almost 2 years ago by Karol Topolski <[email protected]>
This PR makes `Metrics/BlockNesting` aware of numbered parameter.
97a6d52e0552b746d1a63ac567258f5f7c38ec60 authored almost 2 years ago by Koichi ITO <[email protected]>[Fix #10766] Use the path given by `--cache-root` to be the parent for `rubocop_cache` dir like...
6cb734362edb69beb870fb877e7338f66b503763 authored almost 2 years ago by Koichi ITO <[email protected]>a822fee372fdc4f39eb0094590cdcdd3b663a45e authored almost 2 years ago by nobuyo <[email protected]>
Fix: #11122
a67797526601eeee530216521a18cba4055cd9ac authored almost 2 years ago by ydah <[email protected]>This PR makes `Layout/EndAlignment` aware of pattern matching.
ff383c6b0cdaacd7e9f1f9a539d0891cd920641e authored almost 2 years ago by Koichi ITO <[email protected]>Follow up https://github.com/rubocop/rubocop/pull/9068.
3f5753a6f1071a07445d13a3118b37bf694294ea authored almost 2 years ago by Koichi ITO <[email protected]>Fix error when trying to display error message
4d52c6ae6d4c05cf30568f18cbdb8b3166cd6896 authored almost 2 years ago by Koichi ITO <[email protected]>
When RuboCop errors, it prints a message that includes the issue tracker
URL. It pulls this URL ...
Make `Style/RedundantParentheses` aware of redundant method arg parentheses
39089440b80497779e058b9ac37d16f03bae0fd1 authored almost 2 years ago by Koichi ITO <[email protected]>Fix a false positive for `Lint/NestedMethodDefinition` when nested definition inside `*_eval` an...
225878a6e1f6663d8fa66beb977d603804a9cf6f authored almost 2 years ago by Koichi ITO <[email protected]>Add good example for Style/HashSyntax EnforcedShorthandSyntax: either
eff49a753950e7d04b4d45dfe76ac8569a21deb2 authored almost 2 years ago by Koichi ITO <[email protected]>e07de1e1fc3047e6641bdfd5861ddcc223757616 authored almost 2 years ago by Josua Schmid <[email protected]>
https://github.com/rubocop/rubocop/pull/268
The implementation is so different from when it was...
db5638bae357736082696890a2530cb7f0d78434 authored almost 2 years ago by Koichi ITO <[email protected]>This PR fix a false positive for `Lint/NestedMethodDefinition` when nested definition inside `*_...
3fec432fd872b9c3c3974e9db243b3c16b5fc37b authored almost 2 years ago by ydah <[email protected]>This PR makes `Style/RedundantParentheses` aware of redundant method argument parentheses.
The ...
b6b3fcc0e3252183b87a5d96f8853f2333e291cb authored almost 2 years ago by Koichi ITO <[email protected]>Make `Style/MapToHash` and `Style/MapToSet` aware of numblock
8380225e9ff0d3d3a6656aa0ce20228b3f7f11ba authored almost 2 years ago by Koichi ITO <[email protected]>I noticed it when working on https://github.com/rubocop/rubocop/pull/11735.
This PR makes `Styl...
142b6a34ff9318ebfdc948de79904134867b4e6e authored almost 2 years ago by Koichi ITO <[email protected]>[Fix #11730] Fix an error for `Layout/HashAlignment`
31eb53d2654d6f53b09f90f73a75b68924365e14 authored almost 2 years ago by Koichi ITO <[email protected]>Remove redundant module mix-in for `Style/RedundantStringEscape`
8b199ce08024cc3d820a9bacf66f658f3ee01a1e authored almost 2 years ago by Koichi ITO <[email protected]>Follow up: https://github.com/rubocop/rubocop/pull/11694#discussion_r1147219922
10dc8720f691753ed160680d0a61e1dd0923c595 authored almost 2 years ago by ydah <[email protected]>Fixes #11730.
This PR fixes an error for `Layout/HashAlignment`
when using anonymous keyword re...
Fixes #11732.
This PR makes `Style/MapToHash` and `Style/MapToSet` aware of symbol proc.
5d98bd8f23c1614410138fb1bb69e3b36619b355 authored almost 2 years ago by Koichi ITO <[email protected]>Fixes #11697.
This PR fixes `Lint/Syntax` behavior when `--only` is not given the cop name.
The...
ea3896adb2b85f3802836a99e59319bb9b8ce410 authored almost 2 years ago by Koichi ITO <[email protected]>
Fixes #11715.
There was an issue where the default configuration was not loaded
when instantiat...
Fixes #11723.
This PR fixes a false positive for `Style/IfUnlessModifier`
when using one-line p...
Fixes #11725.
This PR fixes an error when insufficient permissions to server cache dir are gran...
0102e57a72a562d2eaeb6ea273e04942ccad9dc6 authored almost 2 years ago by Koichi ITO <[email protected]>
Omitting the parentheses in cases like the example below is ambigious,
we don't need to enforce ...
1ff7d1b489ea76780ae7a19e267f29a0bf6b370c authored almost 2 years ago by Genadi Samokovarov <[email protected]>
Follow up https://github.com/rubocop/rubocop/pull/11592#issuecomment-1440603117.
This PR adds e...
29a96d51a459e952390459182397ca0d430446b6 authored almost 2 years ago by Koichi ITO <[email protected]>75057a85db4fc0cd0e416421024c4494687ed5ed authored almost 2 years ago by ydah <[email protected]>
How about checking about codespell for hidden files (those starting with ".") and file name as w...
f45c31b623bbf51e88eda2339550c52a15a33198 authored almost 2 years ago by ydah <[email protected]>Make the following changes:
- Change to strict mode so that even warnings cause the CI to fail....
04776b90eb4010ac4be91fc0986c4a13ecca10e7 authored almost 2 years ago by ydah <[email protected]>This PR is use RuboCop instead of Rubocop.
e5228566caac47141bc3179b4cd6acb81d1febd9 authored almost 2 years ago by ydah <[email protected]>There must be empty line before list item starts for the Antora doc.
590a16b108c02d0adf4729537ae705d84a634510 authored almost 2 years ago by Koichi ITO <[email protected]>
This PR makes `InternalAffairs/RedundantSourceRange` aware of redundant `source_range` for
`repl...
```ruby
var =
unless object.action value:, other:
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Avoid ...
18430bbe73563413effd87b39a790a87f3435ed2 authored almost 2 years ago by Nick Schonning <[email protected]>
c3d2bee0ab2606157646d4867ed0a7c8ebdc3813 authored almost 2 years ago by Nick Schonning <[email protected]>
Fixes #11704.
This PR fixes a false positive for `Lint/UselessMethodDefinition`
when method def...
This PR makes `Naming/InclusiveLanguage` support autocorrection
when there is only one suggestio...
Fixes #11699.
This PR makes `Style/ClassEqualityComparison` aware of `Class#to_s` and `Class#in...
6c4579ff1394b6866d9be136e4575c11481d3c31 authored almost 2 years ago by Koichi ITO <[email protected]>62575ccedea9bce7c784f3dd6510f664006457ca authored almost 2 years ago by nobuyo <[email protected]>
8b7afcde4e0e416f3d37ac6c4e216ed03dc70984 authored almost 2 years ago by Nick Schonning <[email protected]>
- Only run if a YML/YAML file or the config is touched
- Remove duplicate permission setting alr...
[Fix #11706] Fix infinite loop when `--disable-uncorrectable` option and there is a multi-line p...
7dd56dd0389dee7a7bbc83b0ebe4c8d09aaeb913 authored almost 2 years ago by Koichi ITO <[email protected]>9150b4af9e7742edd1e7282a9424120c0ee85fe0 authored almost 2 years ago by nobuyo <[email protected]>
9150b4af9e7742edd1e7282a9424120c0ee85fe0 authored almost 2 years ago by nobuyo <[email protected]>
[Fix #11685] Fix incorrect directive comment insertion when percent array violates `Layout/LineL...
4346f8ef496599c1dfc53332df5116de735e3382 authored almost 2 years ago by Koichi ITO <[email protected]>[Fix #11685] Fix incorrect directive comment insertion when percent array violates `Layout/LineL...
4346f8ef496599c1dfc53332df5116de735e3382 authored almost 2 years ago by Koichi ITO <[email protected]>Update lib/rubocop/cop/autocorrect_logic.rb
Co-authored-by: Koichi ITO <[email protected]>
adc392a9eef1e160b192f3478b43f70ac867d86b authored almost 2 years ago by nobuyo <[email protected]>More rubocop optimizations
2824ab4c83343f743272ebe7de34d2c59266fd3c authored almost 2 years ago by Koichi ITO <[email protected]>More rubocop optimizations
2824ab4c83343f743272ebe7de34d2c59266fd3c authored almost 2 years ago by Koichi ITO <[email protected]>43209b348e04fdbb8483c0541c72b3fbb21e948b authored almost 2 years ago by Koichi ITO <[email protected]>
43209b348e04fdbb8483c0541c72b3fbb21e948b authored almost 2 years ago by Koichi ITO <[email protected]>
b04834fbd328c9b1a84a61ef6d948eadd944ff3b authored almost 2 years ago by fatkodima <[email protected]>