-
Notifications
You must be signed in to change notification settings - Fork 222
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
Enable new cops by default & fix many cops #876
base: develop
Are you sure you want to change the base?
Conversation
@@ -91,7 +91,7 @@ def create_migration_dirs | |||
end | |||
|
|||
def underscore(src) | |||
src = src.gsub(/::/, '/') | |||
src = src.gsub("::", '/') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
would '::'
also work? (I would have expected 👮 to yell at you)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In this repo that cop is disabled. I'm not sure why RuboCop would prefer "
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah, very well, then something for the future.
bin/smart-proxy-dhcp-isc
Outdated
@@ -0,0 +1,23 @@ | |||
#!/usr/bin/env ruby |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why was this file added and how does it fix the Style/RedundantConstantBase
cop?
not that I mind adding it, just puzzled how it fits into this PR
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The wonders of git add
with some local file that you didn't intend to.
This pleases RuboCop
16d3677
to
a6bdde6
Compare
No description provided.