-
-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Cop request]: UnneededRequireFileExtension #7333
Comments
I would be happy to implement this cop myself given a pointer or two. |
It seems to be good overall to me. It is a caution. There is an edge case where FYI, the cop name should use @rubocop-hq/rubocop-core Is there anything you are worrying about? |
It looks safe to me. Since |
@TSMMark Start by reading Contributing and let us know if you have any questions. For this cop I think you should implement |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contribution and understanding! |
This issues been automatically closed due to lack of activity. Feel free to re-open it if you ever come back to it. |
Sorry y'all I totally lost track of this ticket! @fatkodima you rock! |
Is your feature request related to a problem? Please describe.
.rb
is not necessary whenrequire
orrequire_relative
a Ruby file. When performing code review I am having to ask contributors to remove the superfluous file extension.Describe the solution you'd like
When given:
Autocorrect to:
The text was updated successfully, but these errors were encountered: