-
Notifications
You must be signed in to change notification settings - Fork 97
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
Fixes #27043 - Make rubocop work again #426
Conversation
Test logs should say rubocop checked |
|
[test foreman-tasks] This is odd, I'm failing to reproduce it locally and it seems unlikely that the same version of rubocop on the same version of ruby but with different db would rate the same code differently. |
[test foreman-tasks] |
this needs a rebase |
The behavior of include changed in rubocop 0.56.0[1] and it started overriding defaults provided by rubocop completely. This lead to only rabl and rake files being checked by rubocop. All of the file types which were manually included are being checked by rubocop by default now and there's no need to manually include them. [1] - rubocop/rubocop#5882
840caa6
to
7566ce7
Compare
Rubocop is now green and checks 197 files |
Could you please add following to match forman core?
|
Style/TrailingCommaInArrayLiteral Style/TrailingCommaInHashLiteral
Added |
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.
Thanks @adamruzicka ! 👍
Thank you @ezr-ondrej ! |
The behavior of
Include
changed in rubocop 0.56.0[1] and it startedoverriding defaults provided by rubocop completely. This lead to only
rabl
andrake
files being checked by rubocop.All of the file types which were manually included are being checked by
rubocop by default now and there's no need to manually include them.
[1] - rubocop/rubocop#5882