Skip to content

use plugins instead of require #258

@GrantBirki

Description

@GrantBirki
Member

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Participants

      @GrantBirki

      Issue actions

        use `plugins` instead of `require` · Issue #258 · github/rubocop-github