-
Notifications
You must be signed in to change notification settings - Fork 8
Open
Description
Using rubocop-sketchup 1.5 with newer versions of rubocop triggers
Inheriting from `RuboCop::Cop::Cop` is deprecated. Use `RuboCop::Cop::Base` instead. For more information, see https://docs.rubocop.org/rubocop/v1_upgrade_notes.html.` warning every time cop is run.
The latest version of rubocop that doesn't emit this warning is 1.66.1. The warning issue was introduced with rubocop 1.7.0: rubocop/rubocop@021b236
It seems there are some other developers that also noticed this issue:
https://forums.sketchup.com/t/help-setting-up-and-using-rubocop-on-mac/313171/2
Describe the solution you'd like
Fix rubocop-sketchup to inherit from RuboCop::Cop::Base
. Note it might be more complicated than just replacing how inherited classes are defined.
Describe alternatives you've considered
Until the issue is fixed, rubocop-sketchup should be supported with rubocop versions >= 0.82, <= 1.66.1.
Metadata
Metadata
Assignees
Labels
No labels