You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Usage: rubocop-extension-generator NAME
The NAME must start with rubocop-, like rubocop-rspec.
In this case, the problem is that it should be rubocop-my_example (to fit RubyGems guidelines for naming gems), not that it doesn't begin with rubocop-.
I see two options:
Detecting this mistake and having a different error message for that case
Just adding a line about this issue to the existing error message, to cover both cases
The text was updated successfully, but these errors were encountered:
cllns
changed the title
Extension name with hyphens has wrong error message
Fix extension NAME with hyphens error message
Dec 17, 2024
Will show an error:
In this case, the problem is that it should be
rubocop-my_example
(to fit RubyGems guidelines for naming gems), not that it doesn't begin withrubocop-
.I see two options:
The text was updated successfully, but these errors were encountered: