Skip to content

use plugins instead of require #258

Description

@GrantBirki

Currently, when running rubocop with rubocop-github an annoying warning is present due to the default config/default.yml configuration in this project.

Example:

$ bundle exec rubocop
rubocop-performance extension supports plugin, specify `plugins: rubocop-performance` instead of `require: rubocop-performance` in /Users/birki/code/rubocop-github/config/default.yml.
For more information, see https://docs.rubocop.org/rubocop/plugin_migration_guide.html.

The fix for now is pretty simple.

Instead of this:

require:
  - rubocop-github
  - rubocop-performance

We should do this:

require:
  - rubocop-github

plugins:
  - rubocop-performance

Docs: https://docs.rubocop.org/rubocop/plugin_migration_guide.html

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions