Fix Rubocop configuration files to avoid CE to EE merge problems
What does this MR do?
This MR fixes Rubocop .rubocop.yml
and .rubocop_todo.yml
, because we didn't use --exclude-limit 0
when generating .rubocop_todo.yml
the last time.
This caused Rubocop test job to fail during CE to EE merge, because in EE we have more files than in CE, and new files are not included in cop exclude lists in .rubocop_todo.yml
, which effectively enables some additional cops for these files.
Next steps
Where should we document using rubocop --auto-gen-conf --exclude-limit 0
? Would it make sense to prepare a Rake task for that?