Skip to content

Commit 9197ced

Browse files
committed
chore: Switch to oxfmt
1 parent 8f9d0cf commit 9197ced

7 files changed

Lines changed: 421 additions & 30 deletions

File tree

.npmignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,6 @@ docs/
1212
typedoc.json
1313
CODE_OF_CONDUCT.md
1414
CONTRIBUTING.md
15-
.prettierrc.mjs
15+
.oxfmtrc.json
1616
.oxlintrc.json
1717
.npmrc

.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+
"singleQuote": true,
4+
"tabWidth": 4,
5+
"printWidth": 140,
6+
"sortPackageJson": false,
7+
"ignorePatterns": []
8+
}

.prettierrc.mjs

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

.vscode/extensions.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
"recommendations": ["oxc.oxc-vscode", "esbenp.prettier-vscode"]
2+
"recommendations": ["oxc.oxc-vscode"]
33
}

.vscode/settings.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
2-
"editor.defaultFormatter": "esbenp.prettier-vscode",
2+
"editor.defaultFormatter": "oxc.oxc-vscode",
33
"editor.formatOnSave": true,
44
"[typescript]": {
5-
"editor.defaultFormatter": "esbenp.prettier-vscode"
5+
"editor.defaultFormatter": "oxc.oxc-vscode"
66
},
77
"typescript.tsdk": "node_modules\\typescript\\lib"
88
}

0 commit comments

Comments
 (0)