chore(frontend): align format scripts with Makefile and README (#1481)

* chore(frontend): add format scripts

* docs(frontend): document format commands
This commit is contained in:
luo jiyin
2026-03-27 22:49:41 +08:00
committed by GitHub
parent 18b0794125
commit 50db51d0fb
2 changed files with 10 additions and 0 deletions

View File

@@ -8,6 +8,8 @@
"build": "next build",
"check": "eslint . --ext .ts,.tsx && tsc --noEmit",
"dev": "next dev --turbo",
"format": "prettier --check .",
"format:write": "prettier --write .",
"lint": "eslint . --ext .ts,.tsx",
"lint:fix": "eslint . --ext .ts,.tsx --fix",
"preview": "next build && next start",