lostisland / faraday_middleware

Various Faraday middlewares for Faraday-based API wrappers
MIT License
557 stars 203 forks source link

Configure Codeclimate RuboCop support #260

Closed olleolleolle closed 4 years ago

olleolleolle commented 4 years ago

We are using latest version of RuboCop. We have specific plugins in play. CodeClimate can not import those.

Problem: Every time CodeClimate sees a new commit in the repo, it fails to make a report. And it shows a gray errored badge.

Background

Example .codeclimate.yml file

We need 0-81: the latest available "channel" for RuboCop at CodeClimate.

Perhaps we also need a .rubocop_codeclimate.yml which inherits from .rubocop.yml, where we set the require: key to [], so as to clear it.

plugins:
  rubocop:
    enabled: true
    config:
      file: .rubocop_codeclimate.yml
    channel: rubocop-0-81