From b90d5c8d79a993b657cd2b1fc6979cb31c755e03 Mon Sep 17 00:00:00 2001 From: Stephen Zhou <38493346+hyoban@users.noreply.github.com> Date: Thu, 27 Nov 2025 13:52:36 +0800 Subject: [PATCH] chore: lint first --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 7bc494b5d..d74d04870 100644 --- a/package.json +++ b/package.json @@ -34,8 +34,8 @@ "prepublishOnly": "npm run build:lib", "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", - "format": "prettier \"**/*.{ts,tsx,js,json}\" --write --experimental-cli && eslint --cache --fix \"**/*.{ts,tsx,js,yml}\" --concurrency auto", - "format:check": "prettier \"**/*.{ts,tsx,js,json}\" --check --experimental-cli && eslint --cache \"**/*.{ts,tsx,js,yml}\" --concurrency auto", + "format": "eslint --cache --fix \"**/*.{ts,tsx,js,yml}\" --concurrency auto && prettier \"**/*.{ts,tsx,js,json}\" --write --experimental-cli", + "format:check": "eslint --cache \"**/*.{ts,tsx,js,yml}\" --concurrency auto && prettier \"**/*.{ts,tsx,js,json}\" --check --experimental-cli", "format:staged": "lint-staged", "lint": "eslint --cache . --concurrency auto", "prepare": "husky || true",