Skip to content

Commit 10febfe

Browse files
committed
build(dev-deps): migrate to oxfmt
1 parent 27bbae8 commit 10febfe

File tree

7 files changed

+385
-30
lines changed

7 files changed

+385
-30
lines changed

.devcontainer/devcontainer.json

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
"extensions": [
1111
"bierner.markdown-preview-github-styles",
1212
"davidanson.vscode-markdownlint",
13-
"esbenp.prettier-vscode",
1413
"github.copilot",
1514
"github.copilot-chat",
1615
"github.vscode-github-actions",
@@ -21,7 +20,7 @@
2120
"yzhang.markdown-all-in-one"
2221
],
2322
"settings": {
24-
"editor.defaultFormatter": "esbenp.prettier-vscode",
23+
"editor.defaultFormatter": "oxc.oxc-vscode",
2524
"editor.tabSize": 2,
2625
"editor.formatOnSave": true,
2726
"markdown.extension.list.indentationSize": "adaptive",
@@ -35,7 +34,6 @@
3534
},
3635
"features": {
3736
"ghcr.io/devcontainers/features/git-lfs:1": {},
38-
"ghcr.io/devcontainers/features/github-cli:1": {},
39-
"ghcr.io/devcontainers-contrib/features/prettier:1": {}
37+
"ghcr.io/devcontainers/features/github-cli:1": {}
4038
}
4139
}

.github/workflows/integration-tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ jobs:
108108
echo 'baz' > README.md
109109
git add current-date.txt
110110
git add README.md
111-
git rm .prettierignore
111+
git rm .releaserc.json
112112
git add --chmod=+x src/main.ts
113113
114114
- name: Update existing ref

.github/workflows/linter.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ jobs:
4444
DEFAULT_BRANCH: main
4545
FILTER_REGEX_EXCLUDE: dist/**/*
4646
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
47-
TYPESCRIPT_DEFAULT_STYLE: prettier
47+
TYPESCRIPT_DEFAULT_STYLE: false
4848
VALIDATE_ALL_CODEBASE: true
4949
VALIDATE_BIOME_FORMAT: false
5050
VALIDATE_BIOME_LINT: false

.prettierrc.json renamed to .oxfmtrc.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
{
2+
"$schema": "./node_modules/oxfmt/configuration_schema.json",
23
"printWidth": 80,
34
"tabWidth": 2,
45
"useTabs": false,
@@ -12,5 +13,7 @@
1213
"arrowParens": "avoid",
1314
"proseWrap": "always",
1415
"htmlWhitespaceSensitivity": "css",
15-
"endOfLine": "lf"
16+
"endOfLine": "lf",
17+
"sortPackageJson": false,
18+
"ignorePatterns": ["dist/", "node_modules/", "coverage/", "**/*.yml"]
1619
}

.prettierignore

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

0 commit comments

Comments
 (0)