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.
validate above code with the setup from codesandbox.
Expected Behavior
It should not error out. The css in comment is valid. I think it should not validate the css in comment in the first place since it could be anything. The comment pattern is valid in styled components.
Actual Behavior
the above code snippet gives Stylelint: Unknown word (CssSyntaxError)
The text was updated successfully, but these errors were encountered:
villesau
changed the title
Stylelint: Unknown word (CssSyntaxError) when commenting something out css
Stylelint: Unknown word (CssSyntaxError) when commenting out valid css
Sep 12, 2020
Environment
System:
Binaries:
npmPackages:
sanbox link
https://codesandbox.io/s/unruffled-fermi-5er5j?file=/src/App.js
Reproduction
https://codesandbox.io/s/unruffled-fermi-5er5j?file=/src/App.js
Following code:
gives
Stylelint: Unknown word (CssSyntaxError)
Steps to reproduce
validate above code with the setup from codesandbox.
Expected Behavior
It should not error out. The css in comment is valid. I think it should not validate the css in comment in the first place since it could be anything. The comment pattern is valid in styled components.
Actual Behavior
the above code snippet gives
Stylelint: Unknown word (CssSyntaxError)
The text was updated successfully, but these errors were encountered: