fix: fix eslint errors and warnings

This commit is contained in:
Henry Li
2026-01-31 21:46:31 +08:00
parent cf961328a9
commit d3ff5f9d3c
5 changed files with 20 additions and 80 deletions

View File

@@ -8,10 +8,8 @@
"build": "next build",
"check": "next lint && tsc --noEmit",
"dev": "next dev --turbo",
"format:check": "prettier --check \"**/*.{ts,tsx,js,jsx,mdx}\" --cache",
"format:write": "prettier --write \"**/*.{ts,tsx,js,jsx,mdx}\" --cache",
"lint": "next lint",
"lint:fix": "next lint --fix",
"lint": "eslint . --ext .ts,.tsx",
"lint:fix": "eslint . --ext .ts,.tsx --fix",
"preview": "next build && next start",
"start": "next start",
"typecheck": "tsc --noEmit"