According to those two GitHub issues stylelint-processor-styled-components is deprecated as it provokes bugs and stylelint now supports CSS-in-JS out of the box.
I think we should update the documentation section to avoid newcomers to install it.
I could do the PR if you want to
stylelint-processor-styled-components still uses the old @babel/parser and a PR to update it is not accepted a long time.
https://github.com/styled-components/stylelint-processor-styled-components/pull/296
It means that we cannot use new ES syntaxes and TypeScript syntaxes with stylelint-processor-styled-components. I think this is a pit fall for styled-components users, so I hope to update the documentation.
I'll be happy to work on this if no one work on it.
Most helpful comment
stylelint-processor-styled-componentsstill uses the old@babel/parserand a PR to update it is not accepted a long time.https://github.com/styled-components/stylelint-processor-styled-components/pull/296
It means that we cannot use new ES syntaxes and TypeScript syntaxes with
stylelint-processor-styled-components. I think this is a pit fall forstyled-componentsusers, so I hope to update the documentation.I'll be happy to work on this if no one work on it.