chore: replace prettier with oxfmt (#8676)

This commit is contained in:
sriram veeraghanta 2026-03-02 20:40:50 +05:30 committed by GitHub
parent 9ee73d57ef
commit 41abaffc6e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
1008 changed files with 4046 additions and 4027 deletions

View file

@ -21,7 +21,7 @@
},
"devDependencies": {
"@eslint/js": "9.39.1",
"@prettier/plugin-oxc": "0.1.3",
"oxfmt": "0.35.0",
"@vitest/eslint-plugin": "1.5.1",
"eslint": "9.39.1",
"eslint-config-prettier": "10.1.8",
@ -39,13 +39,12 @@
"globals": "16.5.0",
"husky": "9.1.7",
"lint-staged": "16.2.7",
"prettier": "3.7.4",
"turbo": "2.6.3",
"typescript-eslint": "8.48.1"
},
"lint-staged": {
"*.{js,jsx,ts,tsx,cjs,mjs,cts,mts,json,css,md}": [
"pnpm exec prettier --write --ignore-unknown"
"pnpm exec oxfmt --no-error-on-unmatched-pattern"
],
"*.{js,jsx,ts,tsx,cjs,mjs,cts,mts}": [
"pnpm exec eslint --fix --max-warnings=0 --no-warn-ignored"