Skip to content

Commit

Permalink
chore: replace local prettier plugin with npm package (#3197)
Browse files Browse the repository at this point in the history
* chore: replace local prettier plugin with npm package

* fix: test
  • Loading branch information
Alex-huxiyang authored Sep 20, 2024
1 parent c0f0fc0 commit 96e8c46
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 158 deletions.
2 changes: 1 addition & 1 deletion .prettierrc
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@
"proseWrap": "preserve",
"htmlWhitespaceSensitivity": "strict",
"trailingComma": "none",
"plugins": ["@nutui/prettier-plugin"]
"plugins": ["prettier-markdown-table"]
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,6 @@
"@eslint/config-inspector": "^0.5.1",
"@eslint/eslintrc": "^3.1.0",
"@nutui/eslint-config": "workspace:*",
"@nutui/prettier-plugin": "workspace:*",
"@nutui/vite-plugins": "workspace:*",
"@tarojs/taro": "3.6.34",
"@types/node": "^20.14.9",
Expand All @@ -106,6 +105,7 @@
"markdown-it": "^14.1.0",
"nano-staged": "^0.8.0",
"prettier": "^3.3.2",
"prettier-markdown-table": "^1.0.1",
"rimraf": "^6.0.0",
"typescript": "^5.4.5",
"unplugin-vue-components": "^0.27.2",
Expand Down
80 changes: 0 additions & 80 deletions packages/nutui-prettier-plugin/index.js

This file was deleted.

18 changes: 0 additions & 18 deletions packages/nutui-prettier-plugin/package.json

This file was deleted.

69 changes: 11 additions & 58 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 96e8c46

Please sign in to comment.