Skip to content

Define `Naming/PredicateName` `ForbiddenPrefixes` as an array

  • Please check this box if this contribution uses AI-generated content (including content generated by GitLab Duo features) as outlined in the GitLab DCO & CLA

What does this MR do and why?

This is expected from RuboCop. Since both string and array respond to include?, this error is not surfaced. However, in future versions of RuboCop, the config will be validated: https://github.com/rubocop/rubocop/pull/13068

Edited by 🤖 GitLab Bot 🤖

Merge request reports

Loading