-
Notifications
You must be signed in to change notification settings - Fork 12
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
Use Rubocop #32
Use Rubocop #32
Conversation
# The point is for the user to remove these configuration records | ||
# one by one as the offenses are removed from the code base. | ||
# Note that changes in the inspected code, or installation of new | ||
# versions of RuboCop, may require this file to be generated again. |
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.
I think in final rubocop this comment should be removed as it just confuse readers.
Style/HashSyntax: do enforce it, for new code Style/MultilineOperationIndentation: indented is right Style/VariableName: Style/MethodName: do not spell out snake_case which is the default
The impact of the bug was small because other code queried DNS anyway and filtered out the nonexistent host name.
"For <b>Mount Point</b>, enter the path in the local file system where the directory should be mounted. With\n" + | ||
"<b>Browse</b>, select your mount point\n" + | ||
"For <b>Mount Point</b>, enter the path in the local " \ | ||
"file system where the directory should be mounted. With\n" + |
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.
One more trailing +
...
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.
Indeed. It seems to be a Rubocop bug, already fixed: rubocop/rubocop#1474
I like the idea of separation common settings to an extra file ( I have some more tips for the shared part (taken from .rubocop.yml in the registration module): # align arrows:
# "foo" => true
# "foo_bar" => false
Style/AlignHash:
EnforcedHashRocketStyle: table
# no extra indentation for multiline function calls
Style/AlignParameters:
EnforcedStyle: with_fixed_indentation
# no extra indentation for case
Style/CaseIndentation:
IndentWhenRelativeTo: end
# disabled, unless should be used only in trailing form
Style/NegatedIf:
Enabled: false
# use "raise" instead of "fail"
Style/SignalException:
EnforcedStyle: only_raise |
LGTM |
Ah, .changes missing, and I want to retarget this to SLE-12-GA. |
Retargeting, which needs a new PR. |
No description provided.