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
+2 -3
View File
@@ -15,7 +15,7 @@
"scripts": {
"i18n": "matrix-gen-i18n src res && pnpm i18n:sort && pnpm i18n:lint",
"i18n:sort": "matrix-sort-i18n src/i18n/strings/en_EN.json",
"i18n:lint": "matrix-i18n-lint && prettier --log-level=silent --write src/i18n/strings/ --ignore-path /dev/null",
"i18n:lint": "matrix-i18n-lint && oxfmt src/i18n/strings/",
"i18n:diff": "cp src/i18n/strings/en_EN.json src/i18n/strings/en_EN_orig.json && pnpm i18n && matrix-compare-i18n-files src/i18n/strings/en_EN_orig.json src/i18n/strings/en_EN.json",
"rethemendex": "sh ./res/css/rethemendex.sh",
"build": "nx build",
@@ -179,7 +179,6 @@
"dotenv": "^17.0.0",
"eslint": "8.57.1",
"eslint-config-google": "^0.14.0",
"eslint-config-prettier": "^10.0.0",
"eslint-plugin-deprecate": "0.9.0",
"eslint-plugin-import": "^2.25.4",
"eslint-plugin-jest": "^29.0.0",
@@ -205,6 +204,7 @@
"matrix-web-i18n": "catalog:",
"mini-css-extract-plugin": "2.10.2",
"modernizr": "^3.12.0",
"oxfmt": "^0.54.0",
"playwright-core": "catalog:",
"postcss": "8.5.15",
"postcss-easings": "4.0.0",
@@ -216,7 +216,6 @@
"postcss-preset-env": "11.3.0",
"postcss-scss": "4.0.9",
"postcss-simple-vars": "7.0.1",
"prettier": "3.8.3",
"process": "^0.11.10",
"raw-loader": "^4.0.2",
"semver": "^7.5.2",