chore(frontend): 对齐 prettier 脚本
This commit is contained in:
parent
687c1a056b
commit
98caba9cf1
|
|
@ -8,8 +8,7 @@
|
||||||
"build": "next build",
|
"build": "next build",
|
||||||
"check": "eslint . --ext .ts,.tsx && tsc --noEmit",
|
"check": "eslint . --ext .ts,.tsx && tsc --noEmit",
|
||||||
"dev": "next dev --turbo",
|
"dev": "next dev --turbo",
|
||||||
"format": "prettier --write \"src/**/*.{ts,tsx,js,jsx,json,css,md}\"",
|
"format": "prettier --check .",
|
||||||
"format:check": "prettier --check \"src/**/*.{ts,tsx,js,jsx,json,css,md}\"",
|
|
||||||
"format:write": "prettier --write .",
|
"format:write": "prettier --write .",
|
||||||
"lint": "eslint . --ext .ts,.tsx",
|
"lint": "eslint . --ext .ts,.tsx",
|
||||||
"lint:fix": "eslint . --ext .ts,.tsx --fix",
|
"lint:fix": "eslint . --ext .ts,.tsx --fix",
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue