Skip to content

[EE] Add a new QA::ElementWithPattern cop

What does this MR do?

EE MR for https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/22298.

Add a new QA::ElementWithPattern cop

This cop forbids the use of `element :foo, 'pattern'` and
`element :bar, /pattern/` in QA files.

What are the relevant issue numbers?

Related to https://gitlab.com/gitlab-org/quality/team-tasks/issues/26#note_107871533.

Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/52516.

Does this MR meet the acceptance criteria?

Edited by Rémy Coutable

Merge request reports