Skip to content

Commit

Permalink
fix: stylelint version
Browse files Browse the repository at this point in the history
  • Loading branch information
zhiqingchen committed Nov 4, 2024
1 parent 5dab794 commit 537df99
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 35 deletions.
1 change: 0 additions & 1 deletion packages/babel-preset-taro/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@
"@rnx-kit/babel-preset-metro-react-native": "^1.1.8",
"@tarojs/helper": "workspace:*",
"babel-plugin-dynamic-import-node": "^2.3.3",
"babel-plugin-minify-dead-code-elimination": "^0.5.2",
"babel-plugin-transform-imports-api": "1.0.0",
"babel-plugin-transform-solid-jsx": "workspace:*",
"core-js": "^3.36.1"
Expand Down
4 changes: 0 additions & 4 deletions packages/babel-preset-taro/rn/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,10 +55,6 @@ module.exports = (_, options = {}) => {

plugins.push(require('../remove-define-config'))

plugins.push(
[require('babel-plugin-minify-dead-code-elimination'), {}]
)

return {
presets,
plugins
Expand Down
3 changes: 2 additions & 1 deletion packages/stylelint-taro-rn/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,8 @@
"react-native-known-styling-properties": "^1.3.0"
},
"devDependencies": {
"lodash": "^4.17.21"
"lodash": "^4.17.21",
"stylelint": "^16.4.0"
},
"peerDependencies": {
"stylelint": "^16"
Expand Down
34 changes: 5 additions & 29 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 537df99

Please sign in to comment.