Skip to content

Commit 1bdaa7a

Browse files
committed
🔨 Add type-check
1 parent b32f081 commit 1bdaa7a

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

‎frontend/.eslintrc.json‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"extends": [
3+
"next/core-web-vitals",
4+
"next/typescript"
5+
]
6+
}

‎frontend/package.json‎

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,9 @@
66
"dev": "node server.js",
77
"build": "next build",
88
"start": "NODE_ENV=production node server.js",
9-
"lint": "next lint"
9+
"lint": "next lint",
10+
"type-check": "tsc --noEmit",
11+
"check-all": "npm run type-check && npm run lint && npm run build"
1012
},
1113
"dependencies": {
1214
"@ant-design/icons": "^6.0.0",
@@ -90,6 +92,8 @@
9092
"@types/node": "22.15.16",
9193
"@types/react": "18.3.20",
9294
"@types/react-dom": "18.3.6",
95+
"eslint": "^9.34.0",
96+
"eslint-config-next": "15.5.0",
9397
"postcss": "^8",
9498
"tailwindcss": "^3.4.17",
9599
"typescript": "5.8.3"

0 commit comments

Comments
 (0)