-
Notifications
You must be signed in to change notification settings - Fork 112
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
Use theforeman-rubocop gem #705
Conversation
104aeae
to
1ae3363
Compare
The failure is due to the Ruby v2.2 but I'm not sure from where it is coming, can you help me here @ekohl? |
3149db3
to
b3fce39
Compare
.rubocop.yml
Outdated
- rubocop-minitest | ||
inherit_gem: | ||
theforeman-rubocop: | ||
- strictest.yml |
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.
Should we really use strictest
given the amount of todo it generated?
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.
@evgeni not sure why i used that earlier, but now with default
we have less cops in todo as compared to what we have earlier.
Inherited strictest.yml here, because this closely matches with what rules we already have in our rubocop.yml config. Also dropped Rails, Style/HashSyntax, Style/Documentation and Style/SymbolArray from here because that was included in the inherited file.
@evgeni i have made some changes, can you take a look? |
@archanaserver looks reasonable to me @nofaralfasi any last words on this? or shall I just hit he button? |
Inherited strictest.yml here, because this closely matches with what rules we already have in our .rubocop.yml config. Also dropped Rails, Style/HashSyntax, Style/Documentation and Style/SymbolArray from here because that was included in the inherited file.
This is part of RuboCop standardization, link for the reference:
https://community.theforeman.org/t/standardizing-rubocop-with-theforeman-rubocop/37239
https://github.com/theforeman/theforeman-rubocop/?tab=readme-ov-file#all-opinionated-cops-with-new-ones---strictest