Closed brandonkal closed 5 years ago
I noticed stylelint was silently not reporting errors in css-in-js files. From experimentation, this only occurs when JSX is used in the file.
The issue is that postcss-jsx is not working properly when babel is configured (e.g. with a .babelrc file in scope).
.babelrc
Here is a minimal repo of the issue: https://github.com/brandonkal/postcss-jsx-bug
I noticed stylelint was silently not reporting errors in css-in-js files. From experimentation, this only occurs when JSX is used in the file.
The issue is that postcss-jsx is not working properly when babel is configured (e.g. with a
.babelrc
file in scope).Here is a minimal repo of the issue: https://github.com/brandonkal/postcss-jsx-bug