Commit f882fef9 authored by Shinya Maeda's avatar Shinya Maeda

Merge branch 'qa-danger-pajamas-add-more-examples' into 'master'

Add more examples to Danger Pajamas rule

See merge request gitlab-org/gitlab!44673
parents b4141ba1 314eb486
...@@ -2,15 +2,39 @@ ...@@ -2,15 +2,39 @@
# rubocop:disable Style/SignalException # rubocop:disable Style/SignalException
PATTERNS = %w[ PATTERNS = %w[
%a.btn.btn-
%button.btn.btn-
.alert
.alert-danger
.alert-dismissible
.alert-info
.alert-link
.alert-primary
.alert-success
.alert-warning
.nav-tabs
.toolbar-button-icon
.tooltip
.tooltip-inner
<button
<tabs
bs-callout
createFlash createFlash
deprecated-modal
gl-deprecated-button gl-deprecated-button
loading-button
pagination-button
gl-deprecated-dropdown gl-deprecated-dropdown
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
initDeprecatedJQueryDropdown initDeprecatedJQueryDropdown
loading-button
pagination-button
v-popover
v-tooltip
with_tooltip
].freeze ].freeze
BLOCKING_PATTERNS = %w[ BLOCKING_PATTERNS = %w[
......
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