From 62b554451237312b91a26f6949654950da027712 Mon Sep 17 00:00:00 2001 From: Tony Date: Tue, 14 Apr 2026 23:13:52 +0800 Subject: [PATCH] chore: update format scripts glob doesn't work well https://github.com/oxc-project/oxc/issues/13556 --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 2330f30da..1a9fcd140 100644 --- a/package.json +++ b/package.json @@ -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",