Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(web): add prettier package to organize imports #1271

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion web/.prettierrc
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{
"trailingComma": "none"
"trailingComma": "none",
"plugins": ["prettier-plugin-organize-imports"]
}
1 change: 1 addition & 0 deletions web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@
"lint-staged": "15.2.10",
"npm-run-all": "4.1.5",
"prettier": "3.3.3",
"prettier-plugin-organize-imports": "^4.1.0",
"read-env": "2.0.0",
"rollup": "4.21.2",
"rollup-plugin-visualizer": "5.12.0",
Expand Down
15 changes: 15 additions & 0 deletions web/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -8302,6 +8302,7 @@ __metadata:
lodash-es: "npm:4.17.21"
npm-run-all: "npm:4.1.5"
prettier: "npm:3.3.3"
prettier-plugin-organize-imports: "npm:^4.1.0"
quickjs-emscripten: "npm:0.24.0"
quickjs-emscripten-sync: "npm:1.5.2"
rc-slider: "npm:9.7.5"
Expand Down Expand Up @@ -21793,6 +21794,20 @@ __metadata:
languageName: node
linkType: hard

"prettier-plugin-organize-imports@npm:^4.1.0":
version: 4.1.0
resolution: "prettier-plugin-organize-imports@npm:4.1.0"
peerDependencies:
prettier: ">=2.0"
typescript: ">=2.9"
vue-tsc: ^2.1.0
peerDependenciesMeta:
vue-tsc:
optional: true
checksum: 10c0/fb2d6d415bac96b65a77ea7de9f708e8613436aeb9d82bbe63edeb312fd1362c0d3c57319bd4cc4adfc8b9964fb6c205cbbf8efd9546931b0f9874c0ae624a6a
languageName: node
linkType: hard

"prettier@npm:3.3.3, prettier@npm:^3.1.1":
version: 3.3.3
resolution: "prettier@npm:3.3.3"
Expand Down
Loading