Extract stylesheet for social share button styles

This way we can ignore the selector-class-pattern stylelint rule error
due to the `.ssb-whatsapp_app` selector.
This commit is contained in:
Javi Martín
2024-05-17 02:46:50 +02:00
parent b2be64848c
commit 6f9de94013
3 changed files with 78 additions and 75 deletions

View File

@@ -94,3 +94,6 @@ overrides:
rules:
max-nesting-depth: 8
selector-max-compound-selectors: 8
- files: app/assets/stylesheets/shared/social_share.scss
rules:
selector-class-pattern: "^([a-z][a-z0-9]*)((-|_)[a-z0-9]+)*$"