Commit b94d686d authored by Anastasia McDonald's avatar Anastasia McDonald

Move deprecated pagination components to blocking in Pajamas Danger rule

Migration has been completed for Pagination, so we should prevent users
from re-introducing old deprecated components

See https://gitlab.com/gitlab-com/www-gitlab-com/-/issues/8596
parent 980af739
...@@ -26,18 +26,18 @@ PATTERNS = %w[ ...@@ -26,18 +26,18 @@ PATTERNS = %w[
gl-deprecated-dropdown-divider gl-deprecated-dropdown-divider
gl-deprecated-dropdown-header gl-deprecated-dropdown-header
gl-deprecated-dropdown-item gl-deprecated-dropdown-item
graphql_pagination
has-tooltip has-tooltip
has_tooltip has_tooltip
initDeprecatedJQueryDropdown initDeprecatedJQueryDropdown
loading-button loading-button
pagination-button
v-popover v-popover
v-tooltip v-tooltip
with_tooltip with_tooltip
].freeze ].freeze
BLOCKING_PATTERNS = %w[ BLOCKING_PATTERNS = %w[
pagination-button
graphql_pagination
].freeze ].freeze
def get_added_lines(files) def get_added_lines(files)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment