Skip to content

Commit 464f2cc

Browse files
authored
chore: replace local prettier plugin with npm package (#2603)
* fix: save * fix: prettier test * fix: prettier test * fix: prettier test * fix: prettier test
1 parent 28fec26 commit 464f2cc

File tree

6 files changed

+19
-204
lines changed

6 files changed

+19
-204
lines changed

.prettierrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,5 @@
66
"printWidth": 80,
77
"proseWrap": "preserve",
88
"endOfLine": "auto",
9-
"plugins": ["@nutui/prettier-plugin"]
9+
"plugins": ["prettier-markdown-table"]
1010
}

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@
9191
},
9292
"lint-staged": {
9393
"*.{scss,md}": "prettier --write",
94-
"*.{ts,tsx,js,md}": "eslint"
94+
"*.{ts,tsx,js}": "eslint"
9595
},
9696
"dependencies": {
9797
"@babel/runtime": "^7.23.9",
@@ -118,7 +118,7 @@
118118
"@commitlint/cli": "^19.0.3",
119119
"@commitlint/config-conventional": "^19.0.3",
120120
"@loadable/component": "^5.16.3",
121-
"@nutui/prettier-plugin": "workspace:*",
121+
"prettier-markdown-table": "1.0.1",
122122
"@mdx-js/mdx": "^3.0.1",
123123
"@mdx-js/react": "^3.0.1",
124124
"@mdx-js/rollup": "^3.0.1",

packages/nutui-prettier-plugin/index.js

Lines changed: 0 additions & 81 deletions
This file was deleted.

packages/nutui-prettier-plugin/package.json

Lines changed: 0 additions & 17 deletions
This file was deleted.

plugins/table-format.mjs

Lines changed: 0 additions & 81 deletions
This file was deleted.

pnpm-lock.yaml

Lines changed: 16 additions & 22 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)