New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix autofix for nested tagged template literals #4119
Comments
We've forked the parser we use for CSS-in-JS into stylelint organisation, and we're looking for help to fix our fork to close this issue. See #4574. |
Since However, the underlying issue remains in the parser that stylelint uses to support this syntax. Please consider contributing to the parser if you'd like to see this issue resolved fully. |
I don't get it. Was it fixed or just closed? |
@row248-hola See #4119 (comment). It’s just closed, not fixed. |
Incorrect output with
--fix
when CSS-in-JS has tagged template literal inside tagged template literal. It's a bug withpostcss-jsx
. I've opened issue in related repository. But it won't be fixed any time soon, because @gucong3000 currently is not available, and the fix will require a lot of time invested.None.
Any config as it's related to parser only.
{ "rules": { } }
10.1.0
Yes, CSS-in-JS.
Output is the same as input, because no rules were run.
Output code is broken JavaScript:
Temporary solution is to refactor input code to not have nested tagged template literals:
The text was updated successfully, but these errors were encountered: