Skip to content

Commit 242a320

Browse files
committed
Use oxfmt
1 parent d694075 commit 242a320

File tree

4 files changed

+105
-100
lines changed

4 files changed

+105
-100
lines changed

.github/workflows/code-quality.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ jobs:
125125
done
126126
done
127127
128-
coding-style-js:
128+
code-format-js:
129129
name: JavaScript Coding Style
130130
runs-on: ubuntu-latest
131131
steps:
@@ -140,7 +140,7 @@ jobs:
140140
- name: Install root JS dependencies
141141
run: pnpm install --frozen-lockfile
142142

143-
- run: pnpm run ci
143+
- run: pnpm run fmt:check
144144

145145
phpstan:
146146
name: PHPStan

.oxfmtrc.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"$schema": "./node_modules/oxfmt/configuration_schema.json",
3+
"ignorePatterns": []
4+
}

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,17 +11,17 @@
1111
"test": "pnpm run -r --workspace-concurrency=1 test",
1212
"test:unit": "pnpm run -r --aggregate-output test:unit",
1313
"test:browser": "pnpm run -r --workspace-concurrency=1 test:browser",
14-
"check": "biome check",
15-
"ci": "biome ci"
14+
"fmt": "oxfmt",
15+
"fmt:check": "oxfmt --check"
1616
},
1717
"devDependencies": {
18-
"@biomejs/biome": "^2.3.11",
1918
"@playwright/test": "^1.57.0",
2019
"@puppeteer/browsers": "^2.11.0",
2120
"@testing-library/dom": "^10.4.1",
2221
"@testing-library/jest-dom": "^6.9.1",
2322
"@types/node": "^22.19.3",
2423
"lightningcss": "^1.30.2",
24+
"oxfmt": "^0.28.0",
2525
"pkg-types": "^2.3.0",
2626
"tinyglobby": "^0.2.15",
2727
"tsup": "^8.5.1",

pnpm-lock.yaml

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

0 commit comments

Comments
 (0)