Skip to content

Increase the value of AllCops.MaxFilesInCache in .rubocop.yml

What does this MR do and why?

This MR increases the value of AllCops.MaxFilesinCache in .rubocop.yml to fix a pipeline failure in JH side.

In this script scripts/rubocop-max-files-in-cache-check, it checked the value of AllCops.MaxFilesInCache in .rubocop.yml and compared it with the result of bundle exec rubocop --list-target-files | wc -l. Because JH directory was added to JH side, the result of bundle exec rubocop --list-target-files | wc -l was increased, so the check threw an error, now increase the value of AllCops.MaxFilesInCache to fix the error.

/cc @prajnamas

Screenshots or screen recordings

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

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.

Edited by Zehua Zhang

Merge request reports