You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 14, 2021. It is now read-only.
I didn't find any stylelint rules that would check the value. If you know, please tell me.
Your error should be thrown by csstree/stylelint-validator. As $var is valid in sass syntax, see codes of csstree/stylelint-validator, it will not throw an error for a variable starting with $.
stylelint-processor-styled-components
ignores variables start with$
Reproduction
https://codesandbox.io/embed/styled-components-3tmvb
Steps to reproduce
$
${ }
Expected Behavior
should throw error for invalid value
Actual Behavior
it passes
Environment
npx envinfo --system --binaries --npmPackages stylelint,styled-components,stylelint-processor-styled-components,stylelint-config-styled-components,stylelint-config-recommended --markdown --clipboard
I can open a PR to fix it it's confirmed. Thanks
The text was updated successfully, but these errors were encountered: