Ruby: Update RuboCop lesson to use new plugin system
Checks
- [x] This is not a duplicate of an existing issue (please have a look through our open issues list to make sure)
- [x] I have thoroughly read and understand The Odin Project Contributing Guide
- [x] Would you like to work on this issue?
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
Agree this needs to be updated. All yours @pebaha-
@CouchofTomato Should only the part above be changed, or should the mentioning of a plugin system also be included in brief?
@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
This issue is stale because it has had no activity for the last 30 days.
@pebaha- Any updates on this?
@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.
Opening this up for other contributors.
Acceptance Criteria
- [ ] In the Ruby linting lesson, replace the old
requiresyntax for rubocop extensions with the new plugin syntax (see the OP of this issue for details)
Comment below to be assigned.
🙋
@XAJX179 All yours