-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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 MethodLength to 40 #4173
Conversation
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 have run rubocop with this config, and I think we should add several exceptions to this rule, I mean to specify the files where this rule is violated.
I'm all for loosening the threshold but enabling it,
I have fixed a few lint and added some eluded files @lightalloy but removing |
@maestromac I looked into these issues and I think that we should have different codeclimate code settings for the |
@lightalloy I don't think it's possible to use multiple code climate config files and I can't figure out how to only exclude specs from being checked by the "line-length" metric. I think either we endure the lint (there seems to be 11 line-length lints for specs) and fix what we can or go back to excluding all the spec files again. you have any thought on this @rhymes ? |
I will revisit this |
What type of PR is this? (check all applicable)
Description
/spec
from being excluded from CodeCliamteRelated Tickets & Documents
n/a
Mobile & Desktop Screenshots/Recordings (if there are UI changes)
n/a
Added to documentation?