When linting, I get a Invalid component selector ".block__element--modifier font:" error. I'm using the bem preset
Since namespaces could be anything (font:, background:, text:, etc); I tried adding an ignoreSelectors rule to target these. I couldn't find an expression which worked.
Is there something which already resolves this issue (not sure if I've missed something)?
In our
scss
we group some of our attributes in their namespace.When linting, I get a
Invalid component selector ".block__element--modifier font:"
error. I'm using thebem
presetSince namespaces could be anything (
font:
,background:
,text:
, etc); I tried adding anignoreSelectors
rule to target these. I couldn't find an expression which worked.Is there something which already resolves this issue (not sure if I've missed something)?