Skip to content

Fixed `selector-max-compound-selectors` lint error

Denys Mishunov requested to merge 10951-3-style-lint-projects_scss into master

What does this MR do?

For #10951 (closed) this MR fixes

  99:7  ⚠  Expected ".security-dashboard .card-header .user-avatar-link .avatar" to have no more than 3 compound selectors                                                                            selector-max-compound-selectors
 161:7  ⚠  Expected ".project-template .template-group-options .template-option .avatar-container" to have no more than 3 compound selectors                                                          selector-max-compound-selectors
 183:7  ⚠  Expected ".project-template .template-input-group .selected-icon .avatar" to have no more than 3 compound selectors                                                                        selector-max-compound-selectors

style-lint error for ee/app/assets/stylesheets/pages/projects.scss.

Before After
Security Dashboard avatar security-dashboard-avatar security-dashboard-avatar
Group Template option avatar template-group-option-avatar template-group-option-avatar
Group template input avatar template-input-group-avatar template-input-group-avatar

Does this MR meet the acceptance criteria?

Conformity

Edited by Denys Mishunov

Merge request reports