-
-
Notifications
You must be signed in to change notification settings - Fork 50
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
Introduce/enable a rule for trailing commas in rubocop #105
Comments
Sure that sounds reasonable. Are you up for a PR @denrase? |
Sure! Do you or anyone from your team have an opinion on this? |
I'm not an expert on Ruby. Maybe it's worth checking out what we do here https://github.com/getsentry/sentry-ruby ? |
@philipphofmann When trying to configure this, i wondered why
When removing the include, we get 232 offences, which may also include directories we don't care about. Now the question is, is it supposed to be only configured for the |
This issue has gone three weeks without activity. In another week, I will close it. But! If you comment or otherwise update it, I will reset the clock, and if you label it "A weed is but an unloved flower." ― Ella Wheeler Wilcox 🥀 |
This was fixed with #121 |
We should discuss if we wanna use trailing commas and enable the rule we land on in
rubocop
.I'm more in the no trailing commas camp, but I think we should discuss this before starting a PR.
Some quick google searches yielded:
rubocop/ruby-style-guide#273
https://rubystyle.guide/#no-trailing-parameters-comma
https://rubystyle.guide/#no-trailing-params-comma
The text was updated successfully, but these errors were encountered: