curriculum icon indicating copy to clipboard operation
curriculum copied to clipboard

Ruby: Update RuboCop lesson to use new plugin system

Open pebaha- opened this issue 7 months ago • 4 comments

Checks

Describe your suggestion

As of 1.72, RuboCop uses a new plugin system. The lesson currently instructs the student to use

require: rubocop-performance

but in order to use the new plugin system, one must instead specify

plugins:
  - rubocop-performance

in .rubocop.yml

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

Path

Ruby / Rails

Lesson Url

https://www.theodinproject.com/lessons/ruby-linting-and-rubocop#you-are-the-code-dictator

(Optional) Discord Name

No response

(Optional) Additional Comments

No response

pebaha- avatar May 11 '25 17:05 pebaha-

Agree this needs to be updated. All yours @pebaha-

CouchofTomato avatar May 12 '25 12:05 CouchofTomato

@CouchofTomato Should only the part above be changed, or should the mentioning of a plugin system also be included in brief?

pebaha- avatar May 12 '25 14:05 pebaha-

@pebaha- It might be worth mentioning a note that users on a version of less than 1.72 won't use the plugin system. We can then remove the note once enough time has passed

CouchofTomato avatar May 14 '25 17:05 CouchofTomato

This issue is stale because it has had no activity for the last 30 days.

github-actions[bot] avatar Jun 14 '25 02:06 github-actions[bot]

@pebaha- Any updates on this?

JoshDevHub avatar Nov 05 '25 17:11 JoshDevHub

@pebaha- Any updates on this?

For good measure, I have withdrawn my desire to work on this issue as I don't expect to do it anytime soon.

pebaha- avatar Nov 05 '25 17:11 pebaha-

Opening this up for other contributors.

Acceptance Criteria

  • [ ] In the Ruby linting lesson, replace the old require syntax for rubocop extensions with the new plugin syntax (see the OP of this issue for details)

Comment below to be assigned.

JoshDevHub avatar Nov 05 '25 20:11 JoshDevHub

🙋

XAJX179 avatar Nov 06 '25 00:11 XAJX179

@XAJX179 All yours

CouchofTomato avatar Nov 06 '25 13:11 CouchofTomato