Skip to content

Conversation

dblandin
Copy link
Contributor

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 🔎

@dblandin dblandin force-pushed the devon/update-rubocop-config-to-match-styleguide branch from f524a5a to 0712a4b Compare February 12, 2016 17:02

Style/BlockDelimiters:
Exclude:
- spec/**/*
Copy link
Contributor

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?

Copy link
Contributor Author

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.

Copy link
Contributor

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?

Copy link
Contributor Author

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.

@dblandin dblandin force-pushed the devon/update-rubocop-config-to-match-styleguide branch 2 times, most recently from de8c15c to 36f24e7 Compare February 12, 2016 17:07
enabled: true
config:
languages:
- ruby
Copy link
Contributor

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.
@dblandin dblandin force-pushed the devon/update-rubocop-config-to-match-styleguide branch from 36f24e7 to 77ed4af Compare February 12, 2016 17:12
@ABaldwinHunter
Copy link
Contributor

Couple of nits, but LGTM!

dblandin added a commit that referenced this pull request Feb 12, 2016
…o-match-styleguide

Update Rubocop config to match CC styleguide
@dblandin dblandin merged commit f96c1c2 into master Feb 12, 2016
@dblandin dblandin deleted the devon/update-rubocop-config-to-match-styleguide branch February 12, 2016 17:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants