Regenerate Performance/CollectionLiteralInLoop RuboCop TODO list
What does this MR do and why?
Regenerate Performance/CollectionLiteralInLoop
RuboCop TODO list.
Fix failed rubocop jobs on master
branch, for example: https://gitlab.com/gitlab-org/gitlab/-/jobs/5433032882
JiHu also encountered the same failed jobs, for example: https://jihulab.com/gitlab-cn/gitlab/-/jobs/11230151
Changes from:
bundle exec rake 'rubocop:todo:generate[Performance/CollectionLiteralInLoop]'
CC JH EM @prajnamas
Related MR: Moved Performance/CollectionLiteralInLoop into separate TODO file
cc @anshulriyal
Screenshots or screen recordings
Non-UI
How to set up and validate locally
Numbered steps to set up and validate the change are strongly suggested.
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Edited by Baodong