I added stylelint. .stylelintfixrc config fixes but not all. It doesn't understand styled component, so get error for having ${(prop)} syntax. On the other hand, .stylelintrc will not do auto fix with the error below, but it will take styled-component syntax into consideration.
/Users/taka/code/mydatahack-blog-site-gatsby/src/fec/AnimatedTitle/AnimatedTitle.styled.tsx: When linting something other than CSS, you should install an appropriate syntax, e.g. "@stylelint/postcss-css-in-js", and use the "customSyntax" option
I added stylelint.
.stylelintfixrc
config fixes but not all. It doesn't understand styled component, so get error for having ${(prop)} syntax. On the other hand,.stylelintrc
will not do auto fix with the error below, but it will take styled-component syntax into consideration.