chore: update format scripts
glob doesn't work well https://github.com/oxc-project/oxc/issues/13556
This commit is contained in:
parent
d92a703760
commit
62b5544512
|
|
@ -36,8 +36,8 @@
|
|||
"dev": "cross-env NODE_ENV=dev NODE_OPTIONS='--max-http-header-size=32768' tsx watch --inspect --clear-screen=false lib/index.ts",
|
||||
"dev:cache": "cross-env NODE_ENV=production NODE_OPTIONS='--max-http-header-size=32768' tsx watch --clear-screen=false lib/index.ts",
|
||||
"eslint": "eslint --cache . --concurrency auto",
|
||||
"format": "oxlint --type-aware --fix \"**/*.{ts,tsx,js,yml}\" && oxfmt .",
|
||||
"format:check": "oxlint --type-aware \"**/*.{ts,tsx,js,yml}\" && oxfmt . --check",
|
||||
"format": "oxlint --type-aware --fix . && oxfmt .",
|
||||
"format:check": "oxlint --type-aware . && oxfmt . --check",
|
||||
"format:staged": "lint-staged",
|
||||
"lint": "oxlint --type-aware .",
|
||||
"prepare": "husky || true",
|
||||
|
|
|
|||
Loading…
Reference in New Issue