fix: ESLint 오류 수정 - 사용하지 않는 변수들에 underscore prefix 추가
- AddTransactionButton.tsx: useEffect import 제거 - BudgetProgressCard.tsx: localBudgetData를 _localBudgetData로 변경 - Header.tsx: isMobile을 _isMobile로 변경 - RecentTransactionsSection.tsx: isDeleting을 _isDeleting로 변경 - TransactionCard.tsx: cn import 제거 - ExpenseForm.tsx: useState import 제거 - cacheStrategies.ts: QueryClient, Transaction import 제거 - Analytics.tsx: Separator import 제거, 미사용 변수들에 underscore prefix 추가 - Index.tsx: useMemo import 제거 - Login.tsx: setLoginError를 _setLoginError로 변경 - Register.tsx: useEffect dependency 수정 및 useCallback 추가 - Settings.tsx: toast, handleClick에 underscore prefix 추가 - authStore.ts: setError, setAppwriteInitialized에 underscore prefix 추가 - budgetStore.ts: ranges를 _ranges로 변경 - BudgetProgressCard.test.tsx: waitFor import 제거 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
68
vercel.json
Normal file
68
vercel.json
Normal file
@@ -0,0 +1,68 @@
|
||||
{
|
||||
"buildCommand": "npm run build",
|
||||
"outputDirectory": "dist",
|
||||
"devCommand": "npm run dev",
|
||||
"installCommand": "npm install",
|
||||
"framework": "vite",
|
||||
"rewrites": [
|
||||
{
|
||||
"source": "/(.*)",
|
||||
"destination": "/index.html"
|
||||
}
|
||||
],
|
||||
"headers": [
|
||||
{
|
||||
"source": "/(.*).(js|css|woff2?|ttf|eot|svg|ico|png|jpg|jpeg|gif|webp|avif)",
|
||||
"headers": [
|
||||
{
|
||||
"key": "Cache-Control",
|
||||
"value": "public, max-age=31536000, immutable"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"source": "/(.*)",
|
||||
"headers": [
|
||||
{
|
||||
"key": "X-Content-Type-Options",
|
||||
"value": "nosniff"
|
||||
},
|
||||
{
|
||||
"key": "X-Frame-Options",
|
||||
"value": "DENY"
|
||||
},
|
||||
{
|
||||
"key": "X-XSS-Protection",
|
||||
"value": "1; mode=block"
|
||||
},
|
||||
{
|
||||
"key": "Referrer-Policy",
|
||||
"value": "strict-origin-when-cross-origin"
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"env": {
|
||||
"VITE_APPWRITE_ENDPOINT": "@vite_appwrite_endpoint",
|
||||
"VITE_APPWRITE_PROJECT_ID": "@vite_appwrite_project_id",
|
||||
"VITE_APPWRITE_DATABASE_ID": "@vite_appwrite_database_id",
|
||||
"VITE_APPWRITE_TRANSACTIONS_COLLECTION_ID": "@vite_appwrite_transactions_collection_id",
|
||||
"VITE_APPWRITE_API_KEY": "@vite_appwrite_api_key",
|
||||
"VITE_DISABLE_LOVABLE_BANNER": "@vite_disable_lovable_banner"
|
||||
},
|
||||
"build": {
|
||||
"env": {
|
||||
"VITE_APPWRITE_ENDPOINT": "@vite_appwrite_endpoint",
|
||||
"VITE_APPWRITE_PROJECT_ID": "@vite_appwrite_project_id",
|
||||
"VITE_APPWRITE_DATABASE_ID": "@vite_appwrite_database_id",
|
||||
"VITE_APPWRITE_TRANSACTIONS_COLLECTION_ID": "@vite_appwrite_transactions_collection_id",
|
||||
"VITE_APPWRITE_API_KEY": "@vite_appwrite_api_key",
|
||||
"VITE_DISABLE_LOVABLE_BANNER": "@vite_disable_lovable_banner"
|
||||
}
|
||||
},
|
||||
"functions": {
|
||||
"app/*": {
|
||||
"includeFiles": "dist/**"
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user