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
00bd55ba0fcd6f45a0c2f93c071faf9934bc0f95 authored over 1 year ago by fatkodima <[email protected]>
Fix `Lint/Void` cop for `__ENCODING__` constant
293b7f41f8112ccb9f6afb2b1d46f9bd659b3789 authored over 1 year ago by Koichi ITO <[email protected]>c7821e2d5f1471705c921e5c2cc5ed4a75f16da9 authored over 1 year ago by fatkodima <[email protected]>
Fixes #11994.
This PR fixes an error for `Layout/LineEndStringConcatenationIndentation`
when in...
Fixes #11996.
This PR fixes an error for `Style/IfWithSemicolon`
when without branch bodies.
aaf1c3f6285e5e9e84d43c37944a7faaacb3bf60 authored over 1 year ago by Koichi ITO <[email protected]>
Fixes #11992.
This PR fixes an unexpected `NoMethodError` for LSP mode when an internal error o...
a51af25ae61c58c82b4c672cb66334bfab6f326f authored over 1 year ago by Koichi ITO <[email protected]>Fixes #11989.
This PR fixes an incorrect autocorrect for `Style/RedundantRegexpArgument`
when u...
I've observed an instance where a user manually execute `rubocop --lsp`,
which is unnecessary fo...
[Fix #11986] Fix a false positive for `Lint/MixedCaseRange`
d69fcd0964a441e085a199deb0f55d2e87731a0d authored over 1 year ago by Koichi ITO <[email protected]>Fixes #11986.
This PR fixes a false positive for `Lint/MixedCaseRange`
when the number of chara...
With ridgepole, we can write Ruby DSLs in files called `Schemafile` or `.schema`.
https://github...
77a756d5e62a50a212b9269caa80d3f5aec55685 authored over 1 year ago by Chester Twomey <[email protected]>
2598f72d83038426ffad04d708d986550c8c8b09 authored over 1 year ago by Bozhidar Batsov <[email protected]>
c4913f4a1acad8aad727d2ec6e647f7920a2961a authored over 1 year ago by Bozhidar Batsov <[email protected]>
9db2b2e5ead6608b7a3114b6d080e5f04785e2fa authored over 1 year ago by Bozhidar Batsov <[email protected]>
Fixes #11981.
This PR fixes an incorrect autocorrect for `Style/RedundantRegexpArgument`
when u...
[#11836] should not offense single-quoted symbol containing double quotes in `Lint/SymbolConvers...
2339e262c5995fe1ce81bc23881e25412004be97 authored over 1 year ago by Koichi ITO <[email protected]>Fixes #11974.
This PR fixes an error for `Style/RedundantCurrentDirectoryInPath`
when using str...
Ruby 2.6 runtime support was dropped in PR: https://github.com/rubocop/rubocop/pull/11791
5a38fe3dbfff922fe19d3b3330eaf1995595f1ac authored over 1 year ago by Takuya N <[email protected]>fix: split tests for independence
a263e4e28ca5de79d8ff426865323b74b822dc87 authored over 1 year ago by KessaPassa <[email protected]>Add vscode-rubocop to the LSP doc
b3841fb778764667f04806ad6440482ab2988f35 authored over 1 year ago by Koichi ITO <[email protected]>
vscode-rubocop has been released:
https://marketplace.visualstudio.com/items?itemName=rubocop.vs...
This commit fixes the following build error:
```console
Failures:
1) RuboCop Project Changel...
08dbb424a327d406cc49f61ba20a0b26d8ccc475 authored over 1 year ago by Koichi ITO <[email protected]>0be62c2a40dfdd92286bf01e502de4b9e1270be5 authored over 1 year ago by Bozhidar Batsov <[email protected]>
80485d201d62b605118eb81416db6b999444c65d authored over 1 year ago by Bozhidar Batsov <[email protected]>
f6bac40672c0b03a9ca973538265c82a26dbd062 authored over 1 year ago by Bozhidar Batsov <[email protected]>
Fixes #11972.
This PR fixes an error for `Lint/Void` when `CheckForMethodsWithNoSideEffects: tr...
f23bd40b35b359d90e18d635455d3503db43ad16 authored over 1 year ago by Koichi ITO <[email protected]>Follow up https://github.com/rubocop/rubocop/issues/11099#issuecomment-1577117258
This PR fixes...
04ea2073d689b8578be547da3e45bc7750b82c56 authored over 1 year ago by Koichi ITO <[email protected]>This reverts commit c9ccb2f35c752b42c3e87f926ee7ed74fd26dca8.
273f9bd0b12cca0e1f1ea3db92661379a3c545b4 authored over 1 year ago by Evan Goldenberg <[email protected]>
This PR adds new `Style/ReturnNilInPredicateMethodDefinition` cop
that checks for `return` or `r...
Follow up https://github.com/rubocop/rubocop/pull/4090.
There is no style guide called https://...
0c5c4fc010c1f79ae37773784aa673f50cf25f33 authored over 1 year ago by Koichi ITO <[email protected]>
Autocorrection is unsafe because class methods and module inclusion
can behave differently, base...
[Fix #8506] Add AllowedParentClasses config to Lint/MissingSuper.
1e2d84a4bfbd795e1f287c8f48c46899d2d00d8c authored over 1 year ago by Koichi ITO <[email protected]>The default value of %w[BasicObject Object] is kept for backwards compatibility, but users can n...
09d0ff5470da42864ffc1986213641503af311dd authored over 1 year ago by Mattia Giuffrida <[email protected]>Fix handling of escaped octals in duplicate regexp cop
9c9c04a89aae78ff560365615edee59a8974194c authored over 1 year ago by Koichi ITO <[email protected]>Follow up https://github.com/rubocop/rubocop/pull/11595#discussion_r1232129711.
This commit pre...
d9b431b51f91acc36d4d66deca73882af65be101 authored over 1 year ago by Koichi ITO <[email protected]>This PR adds new `Style/RedundantRegexpArgument` cop.
It identifies places where argument can b...
f15a85a7d8b9862a03f207aaca01d91d153243a2 authored over 1 year ago by Koichi ITO <[email protected]>This PR adds new `Style/YAMLFileRead` cop.
It checks for the use of `YAML.load`, `YAML.safe_loa...
87f839957834091c04db15de6b92c99977c03de0 authored over 1 year ago by Koichi ITO <[email protected]>This cop checks for redundant quantifiers (a.k.a. repeat operators) in regular expression litera...
d7eaec708acf8b1ca6b68f03c03e69dbb6935c53 authored over 1 year ago by Janosch Müller <[email protected]>Fixes #11962.
This PR fixes an error for `Style/RedundantStringEscape`
when an escaped double q...
8509ced4facf74caf5a9782752475a0579f7c2b7 authored over 1 year ago by Randy Stauner <[email protected]>
Resolves #11924.
This PR adds new `Style/RedundantCurrentDirectoryInPath` cop.
It checks for us...
Fixes #11953.
This PR fixes a false negative for `Lint/DuplicateHashKey`
when there is a duplic...
This PR fixes a false negatives for `Layout/EmptyLinesAroundExceptionHandlingKeywords`
when usin...
Fix an error for `Style/IdenticalConditionalBranches`
78c55dac31d67769c5002857c483860147af8b6d authored over 1 year ago by Koichi ITO <[email protected]>
This PR fixes the following error for `Style/IdenticalConditionalBranches`
when using empty pare...
[Fix #11945] Fix a false negative for `Style/RedundantSelfAssignmentBranch`
35d5286ae52ea89826732b6a05df23625a6432eb authored over 1 year ago by Koichi ITO <[email protected]>[Fix #11949] Fix a false positive for `Layout/RedundantLineBreak`
144b578b278af9a24e04dc1a9ad30944e24dc2c4 authored over 1 year ago by Koichi ITO <[email protected]>[Fix #11947] Fix an error for `Style/ConditionalAssignment`
ae82e46c3a30895ea34ef1e364511c89fc3d72aa authored over 1 year ago by Koichi ITO <[email protected]>Fixes #11945.
This PR fixes a false negative for `Style/RedundantSelfAssignmentBranch`
when usi...
Fixes #11949.
This PR fixes a false positive for `Layout/RedundantLineBreak`
when using a line ...
Fixes #11947.
This PR fixes an error for `Style/ConditionalAssignment`
with an assignment that ...
This PR fixes the following error for `Lint/NumberConversion`
when using multiple number convers...
Resolves https://github.com/rubocop/rubocop/discussions/11686
This commit supports built-in lan...
c3c9b42b876d08d83738d57203c0baf9b4b0b865 authored over 1 year ago by Koichi ITO <[email protected]>Preparing to resolve https://github.com/rubocop/rubocop/discussions/11686
This commit imports b...
4c0be378d9c8328ac1e5091c81f1b6bc441bb7f8 authored over 1 year ago by Koichi ITO <[email protected]>Fixed: #10902
89c4cda090a88de1efc93f286a8810c9cde594c4 authored over 1 year ago by ydah <[email protected]>7d9d34fd794f24568b687d99aa3cdeccce9d43b9 authored over 1 year ago by Bozhidar Batsov <[email protected]>
276a538014d88cee5997a4204d93bc38f4ff4699 authored over 1 year ago by Bozhidar Batsov <[email protected]>
cf4252933fef78f249f24c908a54889dcc4c4e9c authored over 1 year ago by Bozhidar Batsov <[email protected]>
This PR fixes an incorrect autocorrect for `Style/SoleNestedConditional` with
`Style/MethodCallW...
Follow up #11791.
RuboCop runtime supports only Ruby >= 2.7, so it removes a redundant `Symbol#...
53ffe2504f1a5cba28a01a18c359bd7e6527fe44 authored over 1 year ago by Koichi ITO <[email protected]>Require Parser 3.2.2.3 for Ruby 3.3.0dev as a runtime
689d473bccf3cef525a53f51820ca34fc191455d authored over 1 year ago by Koichi ITO <[email protected]>Follow up https://github.com/whitequark/parser/pull/929#issuecomment-1583040960
For Ruby 3.3.0d...
fa2810f76ae4a47b1a89478beecfe28698a72788 authored over 1 year ago by Koichi ITO <[email protected]>Workaround for Parser 3.2.2.2 or lower with Ruby 3.3.0dev
469d74a159e05ed6a78574ebc4d9581d774150d7 authored over 1 year ago by Koichi ITO <[email protected]>Follow up https://github.com/ruby/ruby/pull/7877.
Ruby 3.3.0dev is set to promote Racc to a bun...
30d8072ad5179bbb5d59ec4fa86d081080cf9d28 authored over 1 year ago by Koichi ITO <[email protected]>Use unification to match `File.open` block param with `#read` receiver
01b571441602552ee992d877d6576c07d2404b99 authored over 1 year ago by Koichi ITO <[email protected]>c2e024b04563e700a3464a03bcf7e49e69b6caac authored over 1 year ago by fn ⌃ ⌥ <[email protected]>
Improve error message for `Style/DirEmpty`
13a39cc07f975f394f17b62f4a867014b108a9b7 authored over 1 year ago by Koichi ITO <[email protected]>b2aad87d57a600d5b02484b6d0ee51f936ed0397 authored over 1 year ago by fn ⌃ ⌥ <[email protected]>
In AsciiDoc, it restores underscores that is erroneously interpreted as
emphasis and goes missin...
Add support for cases starting with an empty comment line in `InternalAffairs/CopDescription` cop
d564bf00043649bec19653de0d9388715c79b5fe authored over 1 year ago by Koichi ITO <[email protected]>This PR add support for cases starting with an empty comment line in `InternalAffairs/CopDescrip...
d533aba5d9d29b38fa67c0261876ebabc493c9d5 authored over 1 year ago by ydah <[email protected]>Fix exception on Lint/InheritException when class definition has non-constant siblings
aa62ee63055b048ef0f2ebdf7a6508a769be026b authored over 1 year ago by Koichi ITO <[email protected]>
In classes that inherit `Exception` and have non-constant siblings, this
cop was failing because...
Fix an incorrect autocorrect for `Lint/AmbiguousBlockAssociation`
a796b108e9bf9874453931356b694ccbc11901af authored over 1 year ago by Koichi ITO <[email protected]>
This PR fixes the following incorrect autocorrect for
`Lint/AmbiguousBlockAssociation` with `Sty...
Fixes #11914.
This PR fixes an incorrect examples for `Style/ClassEqualityComparison`.
The ori...
ab4b73cc31a0d0a8ea96b572b7adc461361edc4a authored over 1 year ago by Koichi ITO <[email protected]>Fixes #11919.
This PR fixes an error for `Lint/UselessAssignment`
when a variable is assigned a...
## Summary
Revert https://github.com/rubocop/rubocop/commit/1533ece5b3d41ee8a1a2f154f23b7c1297e...
0bbe96cb72ede55638001121538f027080f8ba52 authored over 1 year ago by Koichi ITO <[email protected]>Fix `Lint/RedundantSafeNavigation` when using `to_s`
1181d4ebad5f71c586f9514d9c341cdfffc1957d authored over 1 year ago by Koichi ITO <[email protected]>d357b33ae497d28dea8efbdb83f70d93dbe33a9e authored over 1 year ago by Luc Thevenard <[email protected]>
e216c9baf40e37dbe701524f214d36eb8f264010 authored over 1 year ago by Bozhidar Batsov <[email protected]>
93a378315ef283bc6ae470be655d3d9b51abcbc1 authored over 1 year ago by Bozhidar Batsov <[email protected]>
727967fa2842abde6ef3293c95ffc008d1bce67d authored over 1 year ago by Bozhidar Batsov <[email protected]>
When using `--server` in a non-tty environment, rubocop hangs reading
STDIN. Avoid this by only ...
Follow up https://github.com/rubocop/rubocop/pull/11874#issuecomment-1550911537.
Checks for the...
a01fd9c1d84278ca78e87cf60d06cb2737212856 authored over 1 year ago by Koichi ITO <[email protected]>Fixes #11908.
This PR supports `AllowedReceivers` for `Style/CollectionMethods`.
For example, b...
This PR adds a spec to detect a redundant `SafeAutoCorrect: false` config
and remove the detecte...
[Fix #11905] Fix an error for `Lint/UselessAssignment`
172cc752c39a15439730adb5d8a75058ac18ecf4 authored over 1 year ago by Koichi ITO <[email protected]>Fixes #11905.
This PR fixes an error for `Lint/UselessAssignment`
when a variable is assigned w...
Fix a false positive for `Style/RequireOrder`
1884a46d9284b47a07763e2506276662c7c1ae6e authored over 1 year ago by Koichi ITO <[email protected]>
This PR fixes a false positive for `Style/RequireOrder`
when single-quoted string and double-quo...
Fixes #11899.
This PR fixes an incorrect autocorrect for `Style/SingleLineMethods`
when using R...
Added the following:.
- Description of `AllowedIdentifiers` options
- Good case supplement
Fix offences in calls inside blocks with braces for Style/MethodCallWithArgsParentheses
a1a378b19a6222fad8c12330cace30ceb21dafcf authored over 1 year ago by Koichi ITO <[email protected]>
For the `omit_parentheses` enforced style, I noticed that calls with
parentheses in calls **insi...
[Fix #11893] Fix a false positive for `Lint/InheritException`
df5e17aeb4af545b3eef8cab1d5e945e2beb58cf authored over 1 year ago by Koichi ITO <[email protected]>Fixes #11893.
This PR fixes a false positive for `Lint/InheritException`
when inheriting `Excep...
Fix `Style/AccessorGrouping` to accept macros separated from accessors by space
3efa5ffc95dc2832e217d3f74c80c36f431ff6c2 authored over 1 year ago by Koichi ITO <[email protected]>