chore(scss): support dsfr prefixed fr- not being hyphenated

This commit is contained in:
Colin Darie 2022-09-15 11:42:59 +02:00
parent 4d5f03b99c
commit a2c32b44c0

View file

@ -166,7 +166,8 @@ linters:
SelectorFormat:
enabled: true
convention: hyphenated_lowercase
# hyphenated_lowercase + any dsfr selector which are not hyphenated
convention: ^(?:fr-[^A-Z]+|[^_A-Z]+)$
Shorthand:
enabled: false