Closed fleischie closed 7 years ago
This should be improved by commit a08f100, which now has a more though-trough process of indenting each line according to it's contents.
It's still not perfectly implemented, as specific edge-cases might be breaking the indentation of css inside of jsTemplateStrings (as well jsTemplateStrings, which mistaken ${}
as a css definition, etc.).
Closing, as this particular issue seems fixed as the previous comment suggest. Open a new issue, if this still occurs. :+1:
The indentation is only of the CSS (primarily blockwise in-/outdent). The potential JS outside of the styled components definition is not indented correctly.