Skip to content

ci: Add a new 'scripts/rubocop-max-files-in-cache-check'

Rémy Coutable requested to merge dynamically-set-limit-of-cached-files into master

What does this MR do and why?

This adds a static analysis script to ensure that RuboCop's AllCops.MaxFilesInCache value is above the number of files of inspect, by at least 5%.

The recommended value is 25% more than the number of files to inspect.

Refs gitlab-com/www-gitlab-com!90278 (comment 679137490)

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 Peter Leitzen

Merge request reports