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 and add Style/MutableConstant #4
Conversation
Lint/TrailingCommaInAttributeDeclaration: | ||
Enabled: true |
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.
If this does what I think, then we don't want it (because we don't want trailing commas).
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.
It does this
https://docs.rubocop.org/rubocop/0.90/cops_lint.html#linttrailingcommainattributedeclaration
We want it
Lint/TopLevelReturnWithArgument: | ||
Enabled: true |
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.
What does this mean?
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.
Do we really want to add all new cops? We initially said we want to keep the config lean and not include stuff by default, which I really liked. I don't even understand half of the cops added without looking them up. |
Classic Nils!! Anyways... all the cops that are |
Makes total sense, I didn't realize those are all lint comments ... |
No description provided.