Fix false positives for single value within template literal #4655
Labels
status: ready to implement
is ready to be worked on by someone
syntax: css-in-js
relates to JS objects & template literals
type: bug
a problem with a feature or rule
I've looked for similar bugs and although there are similar titles I couldn't find this one. It's not in the changelog and it's reproducible in the playground demo. I also created this small repo to more easily reproduce it: https://github.com/jdvivar/demo-bug-stylelint
False positive on single css-in-js value
Not a rule, but a syntax error
with this
test.ts
file:and this config
.stylelintrc.json
:13.2.1
CLI with
stylelint --syntax css-in-js "test.ts"
CLI with
stylelint "test.ts"
Both with the same output
Yep, CSS-in-JS
Nothing to be flagged
The text was updated successfully, but these errors were encountered: