roadmap icon indicating copy to clipboard operation
roadmap copied to clipboard

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

Open aaronskiba opened this issue 3 months ago • 0 comments

DESCRIPTION

Pull request https://github.com/DMPRoadmap/roadmap/pull/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.

aaronskiba avatar Oct 08 '25 16:10 aaronskiba