-
Notifications
You must be signed in to change notification settings - Fork 8
Update Rubocop config to match CC styleguide #17
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
Update Rubocop config to match CC styleguide #17
Conversation
f524a5a
to
0712a4b
Compare
|
||
Style/BlockDelimiters: | ||
Exclude: | ||
- spec/**/* |
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.
We probably don't need these since we have the top level .codeclimate.yml spec excludes right?
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 just moved the spec/ exclude path to be duplication engine specific so we should keep these here for the rubocop engine.
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 okay. Did you move it to take advantage of allowing fixme to analyze spec directory?
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.
Not fixme specifically. I think there's often an acceptable level of duplication in spec files but thought it best to allow other engines, like rubocop and fixme, to scan that directory.
de8c15c
to
36f24e7
Compare
enabled: true | ||
config: | ||
languages: | ||
- 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.
💄 un-indent.
A small update to bring our rubocop config up-to-date with our styleguide. Following the refactor in #16, few changes in the codebase were needed.
36f24e7
to
77ed4af
Compare
Couple of nits, but LGTM! |
…o-match-styleguide Update Rubocop config to match CC styleguide
A small update to bring our rubocop config up-to-date with our styleguide.
Following the refactor in #16, few changes in the codebase were needed.
@codeclimate/review 🔎