function-no-unknown
false positives for interpolation and backticks in CSS-in-JS
#6564
Labels
syntax: css-in-js
relates to JS objects & template literals
type: bug
a problem with a feature or rule
What steps are needed to reproduce the bug?
CSS-in-JS code with interpolation
${}
or with backticks`
:Issues reproduced with
postcss-styled-syntax
and with@stylelint/postcss-css-in-js
.What Stylelint configuration is needed to reproduce the bug?
How did you run Stylelint?
stylelint "**/*.js"
Which version of Stylelint are you using?
14.16.1
What did you expect to happen?
No violations.
What actually happened?
Does the bug relate to non-standard syntax?
CSS-in-JS
Proposal to fix the bug
Update
isStandardSyntaxFunction
to ignore such syntax.The text was updated successfully, but these errors were encountered: