postcss-styled-jsx
v1.0.1
Published
PostCSS syntax for parsing styled-jsx
Downloads
2,949
Readme
PostCSS styled-jsx Syntax
PostCSS syntax for parsing styled jsx
Disclaimers
- This package is intended to be used as a custom syntax for stylelint on React or Next.js projects using styled jsx. We have no intention of supporting all postcss post-processing features.
- We're not using the
postcss-css-in-js
from stylelint because that package is meant to be deprecated. See this issue.
Getting started
npm install --save-dev postcss-styled-jsx
Using with stylelint
// .stylelintrc.js
module.exports = {
extends: ["stylelint-config-recommended"],
customSyntax: "postcss-styled-jsx",
}