Skip to content
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

Disable rubocop Metrics/BlockLength #1744

Merged

Conversation

jordan-brough
Copy link
Contributor

This cop was added to rubocop a few months ago. I agree shorter blocks are
usually better but this doesn't seem like it's something we need in rubocop and
it also has some issues with specs apparently.

I noticed because it started spamming this PR: #1707

This cop was added to rubocop a few months ago.  I agree shorter blocks are
usually better but this doesn't seem like it's something we need in rubocop and
it also has some issues with specs apparently.
@peterberkenbosch
Copy link
Contributor

There is a better option I think, we can disable this for the specs but still have it for the system. Ran into this some time ago as well: solidusio/solidus_affirm@106096c

@jhawthorn jhawthorn merged commit ddd9539 into solidusio:master Feb 27, 2017
@jhawthorn
Copy link
Contributor

I don't really care for any of the rules in Metrics/*. They're certainly good goals, but I think humans are the best judges of such things.

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.

3 participants