Switch from prettier to oxfmt (#33844)

* Switch from prettier to oxfmt

* Make knip happy

* Make knip happy

* Apply suggestion from @t3chguy

* Rename .oxfmtrc.json to .oxfmtrc.jsonc

* Make oxfmt happier
This commit is contained in:
Michael Telatynski
2026-06-16 12:17:18 +00:00
committed by GitHub
parent 5d93490547
commit eca2f39dbb
28 changed files with 399 additions and 217 deletions
+5 -6
View File
@@ -13,9 +13,9 @@
"i18n": "pnpm -r i18n",
"i18n:sort": "pnpm -r i18n:sort",
"i18n:lint": "pnpm -r i18n:lint",
"lint": "pnpm -r --workspace-concurrency=1 lint:types && pnpm lint:prettier && pnpm -r lint:js && pnpm -r lint:style && pnpm lint:workflows && pnpm lint:knip",
"lint:prettier": "prettier --check .",
"lint:prettier-fix": "prettier --log-level=warn --write .",
"lint": "pnpm -r --workspace-concurrency=1 lint:types && pnpm lint:fmt && pnpm -r lint:js && pnpm -r lint:style && pnpm lint:workflows && pnpm lint:knip",
"lint:fmt": "oxfmt --check",
"lint:fmt-fix": "oxfmt",
"lint:workflows": "find .github/workflows -type f \\( -iname '*.yaml' -o -iname '*.yml' \\) -print -exec action-validator {} ';'",
"lint:knip": "knip",
"install:git-hooks": "husky",
@@ -34,7 +34,6 @@
"@types/node": "22",
"@vitest/coverage-v8": "catalog:",
"cronstrue": "^3.0.0",
"eslint-plugin-matrix-org": "^3.0.0",
"husky": "^9.0.0",
"knip": "6.16.0",
"lint-staged": "^17.0.0",
@@ -42,11 +41,11 @@
"mermaid": "^11.13.0",
"minimist": "^1.2.6",
"nx": "22.7.5",
"prettier": "3.8.3",
"oxfmt": "^0.54.0",
"typescript": "catalog:",
"vitest": "catalog:",
"vitepress": "^1.6.4",
"vitepress-plugin-mermaid": "^2.0.17",
"vitest": "catalog:",
"yaml": "^2.3.3"
},
"engines": {