Skip to content

Commit 099bb2d

Browse files
committed
fix: suppress stylelint false positive for notification banner scope extends
GOV.UK Frontend exposes no placeholder selectors for notification banner heading or link, so class selectors are the only option.
1 parent dcbe5ee commit 099bb2d

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

src/client/stylesheets/_prose.scss

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,12 +61,15 @@
6161
}
6262
}
6363

64+
// GOV.UK Frontend does not expose placeholder selectors for these — class selectors are the only option.
6465
.app-prose-notification-banner-scope {
6566
p {
67+
// stylelint-disable-next-line scss/at-extend-no-missing-placeholder
6668
@extend .govuk-notification-banner__heading;
6769
}
6870

6971
a {
72+
// stylelint-disable-next-line scss/at-extend-no-missing-placeholder
7073
@extend .govuk-notification-banner__link;
7174
}
7275
}

0 commit comments

Comments
 (0)