Skip to content

Commit 20ca0b9

Browse files
committed
replace Prettier with oxfmt
1 parent b02e424 commit 20ca0b9

File tree

7 files changed

+402
-37
lines changed

7 files changed

+402
-37
lines changed

.oxfmtrc.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"$schema": "./node_modules/oxfmt/configuration_schema.json",
3+
"trailingComma": "none",
4+
"singleQuote": true,
5+
"printWidth": 80,
6+
"experimentalSortPackageJson": false,
7+
"ignorePatterns": []
8+
}

.prettierrc

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

.vscode/extensions.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
"recommendations": [
33
"dbaeumer.vscode-eslint",
44
"bradlc.vscode-tailwindcss",
5-
"esbenp.prettier-vscode"
6-
]
5+
"oxc.oxc-vscode"
6+
],
7+
"unwantedRecommendations": ["esbenp.prettier-vscode"]
78
}

.vscode/settings.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
{
22
"[typescript][typescriptreact][json][jsonc]": {
3-
"editor.defaultFormatter": "esbenp.prettier-vscode"
3+
"editor.defaultFormatter": "oxc.oxc-vscode"
44
},
55
"files.insertFinalNewline": true,
66
"files.trimFinalNewlines": true,
7-
"prettier.enable": true,
7+
"editor.formatOnSave": true,
8+
"editor.formatOnSaveMode": "file",
89
"typescript.tsdk": "node_modules/typescript/lib",
910

1011
"chat.mcp.gallery.enabled": true

0 commit comments

Comments
 (0)