codeclimate-rubocop
codeclimate-rubocop copied to clipboard
Code Climate Engine for Rubocop
I couldn't find a clear explanation of why CodeClimate has to keep adding versions of Rubocop to the channels. Is it not possible to install the version of Rubocop that...
I'm using these versions of gems and getting the error below. Any clue? ``` - rubocop (1.12.0) - rubocop-performance (1.10.2) - rubocop-rails (2.9.1) - rubocop-rspec (2.2.0) - rubocop-shopify (2.0.1) ```...
There is a recently released branch for 1.8.1 but in the Codeclimate UI I see the following: Channel rubocop-1-8-1 not found for rubocop, available channels: ["stable", "cache-support", "rubocop-0-42", "rubocop-0-46", "rubocop-0-48",...
I'm trying to add `codeclimate.yml` but I'm having problems with rubocop engine. This is my `codeclimate.yml`: ````yml version: 2 # required to adjust maintainability checks checks: argument-count: enabled: true complex-logic:...
Now that typechecking is coming in Ruby 3, sorbet will likely become more popular. https://github.com/shopify/rubocop-sorbet has some rubocop rules for sorbet that would be great to include.
Support anycable-rails: https://github.com/anycable/anycable-rails https://github.com/anycable/anycable-rails/blob/a6b6729a93804c656344b4803c8fcb868f2e6ab3/docs/compatibility.md#rubocop-cops
This is a codeclimate specific issue as it does not happen on Rubocop provided by RubyGems, but CodeClimate Rubocop on the Codeclimate CI freaks out with certain kinds of loops,...
If the rack gem isn't present, the engine emits errors such as: ``` An error occurred while Rails/HttpStatus cop was inspecting /code/app/controllers/errors_controller.rb:6:4. ``` See https://github.com/rubocop-hq/rubocop/issues/5745 A PR was opened https://github.com/rubocop-hq/rubocop/pull/5707...
It would be helpful for large projects if codeclimate cli would recognize and use rubocop's built-in caching. See https://github.com/bbatsov/rubocop/blob/master/manual/caching.md
In the following snippet of code, the `action` method call is resulting in 5 separate `Style/HashSyntax` warnings from the rubocop engine while my local rubocop check gives me none: ```ruby...