Skip to content

Address Naming/MethodName and Naming/PredicateMethod: Rubocop Offences and Re-Enable Cops #3574

@aaronskiba

Description

@aaronskiba

DESCRIPTION

Pull request #3572 was merged as part of release v5.0.2. The changes in this PR include the execution of bundle update, which bumped Rubocop, and subsequently resulted in new Rubocop errors.

Rather than fixing all of the aformentioned Rubocop errors, the following was added to .rubocop.yml:

# ----------
# - NAMING -
# ----------
# TODO: Temporarily disabled for release v5.0.2
Naming/MethodName:
  Enabled: false
# TODO: Temporarily disabled for release v5.0.2
Naming/PredicateMethod:
  Enabled: false

SOLUTION

We should re-enable these cops and fix the resultant offences properly.

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