Description
I am a developer for MushroomObserver (MO), an open-source, all-volunteer nonprofit.
MO is a Ruby on Rails app.
The code repository is GitHub, https://github.com/MushroomObserver/mushroom-observer
We use and rely on both RuboCop for local testing and the CodeClimate GitHub App for CI.
When we upgraded RuboCop to version 1.72, the CodeClimate CI broke. Example: https://codeclimate.com/github/MushroomObserver/mushroom-observer/builds/11148
I believe the breakage relates to the plugin system introduced in v 1.72, in particular, the changed key in the .rubocop.yml file: “require” changed to “plugins”. See https://docs.rubocop.org/rubocop/1.72/extensions.html
- With plugins: our CI breaks,. while our local RuboCop works fine.
- With require: it’s the opposite: CI works fine, but local RuboCop breaks.
Note that our .codeclimate.yml includes the rubocop plugin, and we specify the latest channel available from CodeClimate (rubocop-1-56-3). See https://github.com/codeclimate/codeclimate-rubocop/branches/all?utf8=%E2%9C%93&query=channel%2Frubocop
I therefore wonder if:
- CodeClimate could add a new rubocop channel which fixes the problem.
- RuboCop could continue to accept require for extension; and/or
you could suggest a workaround which would let us use the latest RuboCop version both locally and in the CodeClimate GitHub App for CI.