Skip to content

Commit

Permalink
chore: add styled jsx syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
ismay committed May 10, 2024
1 parent 97e24f6 commit d2db46b
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 0 deletions.
1 change: 1 addition & 0 deletions config/stylelint.config.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
module.exports = {
customSyntax: 'postcss-styled-jsx',
plugins: ['stylelint-use-logical'],
rules: {
'csstools/use-logical': [
Expand Down
3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,9 @@
"husky": "^7.0.2",
"micromatch": "^4.0.4",
"perfy": "^1.1.5",
"postcss": "^8.4.38",
"postcss-styled-jsx": "^1.0.1",
"postcss-syntax": "^0.36.2",
"prettier": "^2.4.1",
"semver": "^7.3.5",
"stylelint": "^16.3.1",
Expand Down
10 changes: 10 additions & 0 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -4479,6 +4479,16 @@ postcss-selector-parser@^6.0.16:
cssesc "^3.0.0"
util-deprecate "^1.0.2"

postcss-styled-jsx@^1.0.1:
version "1.0.1"
resolved "https://registry.yarnpkg.com/postcss-styled-jsx/-/postcss-styled-jsx-1.0.1.tgz#07c17ca3bc574a06627103bb5dd475006c2d0d9e"
integrity sha512-508Vg2A0pHQstRxz8eoNYiT+RiCZdgE4EqN0x8oiPIZ/a6pp5q2NYefL39RRG8ORlxDehLHU3u/EOpux0kuATQ==

postcss-syntax@^0.36.2:
version "0.36.2"
resolved "https://registry.yarnpkg.com/postcss-syntax/-/postcss-syntax-0.36.2.tgz#f08578c7d95834574e5593a82dfbfa8afae3b51c"
integrity sha512-nBRg/i7E3SOHWxF3PpF5WnJM/jQ1YpY9000OaVXlAQj6Zp/kIqJxEDWIZ67tAd7NLuk7zqN4yqe9nc0oNAOs1w==

postcss-value-parser@^4.2.0:
version "4.2.0"
resolved "https://registry.yarnpkg.com/postcss-value-parser/-/postcss-value-parser-4.2.0.tgz#723c09920836ba6d3e5af019f92bc0971c02e514"
Expand Down

0 comments on commit d2db46b

Please sign in to comment.