chore: lint first

This commit is contained in:
Stephen Zhou 2025-11-27 13:52:36 +08:00
parent 838eb3c7ff
commit b90d5c8d79
No known key found for this signature in database
1 changed files with 2 additions and 2 deletions

View File

@ -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",