> uptime-sentinel@0.2.0 lint > eslint E:\Running Apps\Network-Monitor-App\uptime-sentinel\scripts\backfill-hourly-v2.ts 29:43 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any E:\Running Apps\Network-Monitor-App\uptime-sentinel\scripts\backfill-hourly.ts 74:25 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any E:\Running Apps\Network-Monitor-App\uptime-sentinel\scripts\check_user_details.js 1:26 error A `require()` style import is forbidden @typescript-eslint/no-require-imports E:\Running Apps\Network-Monitor-App\uptime-sentinel\scripts\check_users.js 1:26 error A `require()` style import is forbidden @typescript-eslint/no-require-imports E:\Running Apps\Network-Monitor-App\uptime-sentinel\scripts\cleanup_admin.js 1:26 error A `require()` style import is forbidden @typescript-eslint/no-require-imports E:\Running Apps\Network-Monitor-App\uptime-sentinel\scripts\diagnose_ssl.js 2:26 error A `require()` style import is forbidden @typescript-eslint/no-require-imports E:\Running Apps\Network-Monitor-App\uptime-sentinel\scripts\fix_role.js 1:26 error A `require()` style import is forbidden @typescript-eslint/no-require-imports E:\Running Apps\Network-Monitor-App\uptime-sentinel\scripts\reset_password.js 1:26 error A `require()` style import is forbidden @typescript-eslint/no-require-imports 2:16 error A `require()` style import is forbidden @typescript-eslint/no-require-imports 12:11 error 'updated' is assigned a value but never used @typescript-eslint/no-unused-vars E:\Running Apps\Network-Monitor-App\uptime-sentinel\scripts\seed.js 2:26 error A `require()` style import is forbidden @typescript-eslint/no-require-imports 3:16 error A `require()` style import is forbidden @typescript-eslint/no-require-imports E:\Running Apps\Network-Monitor-App\uptime-sentinel\scripts\test_login.js 1:26 error A `require()` style import is forbidden @typescript-eslint/no-require-imports 2:16 error A `require()` style import is forbidden @typescript-eslint/no-require-imports E:\Running Apps\Network-Monitor-App\uptime-sentinel\scripts\update_user.js 2:26 error A `require()` style import is forbidden @typescript-eslint/no-require-imports E:\Running Apps\Network-Monitor-App\uptime-sentinel\scripts\verify-schema.ts 8:11 error 'keys' is assigned a value but never used @typescript-eslint/no-unused-vars 12:19 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any E:\Running Apps\Network-Monitor-App\uptime-sentinel\scripts\wipe-monitors.js 1:26 error A `require()` style import is forbidden @typescript-eslint/no-require-imports E:\Running Apps\Network-Monitor-App\uptime-sentinel\server.js 1:26 error A `require()` style import is forbidden @typescript-eslint/no-require-imports 2:19 error A `require()` style import is forbidden @typescript-eslint/no-require-imports 3:14 error A `require()` style import is forbidden @typescript-eslint/no-require-imports E:\Running Apps\Network-Monitor-App\uptime-sentinel\src\app\api\analytics\heatmap\route.ts 35:28 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 154:21 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any E:\Running Apps\Network-Monitor-App\uptime-sentinel\src\app\api\analytics\incident-trends\route.ts 131:21 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any E:\Running Apps\Network-Monitor-App\uptime-sentinel\src\app\api\analytics\insights\route.ts 14:52 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any E:\Running Apps\Network-Monitor-App\uptime-sentinel\src\app\api\analytics\kpi\route.ts 14:52 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any E:\Running Apps\Network-Monitor-App\uptime-sentinel\src\app\api\analytics\trend\route.ts 14:52 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any E:\Running Apps\Network-Monitor-App\uptime-sentinel\src\app\api\audit\email-logs\route.ts 26:22 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 67:21 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any E:\Running Apps\Network-Monitor-App\uptime-sentinel\src\app\api\chat\email\route.ts 23:25 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 50:21 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any E:\Running Apps\Network-Monitor-App\uptime-sentinel\src\app\api\chat\feedback\route.ts 88:21 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any E:\Running Apps\Network-Monitor-App\uptime-sentinel\src\app\api\chat\history\route.ts 10:27 error 'req' is defined but never used. Allowed unused args must match /^_/u @typescript-eslint/no-unused-vars 25:13 error 'sessionId' is never reassigned. Use 'const' instead prefer-const 48:21 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 58:30 error 'req' is defined but never used. Allowed unused args must match /^_/u @typescript-eslint/no-unused-vars 71:21 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any E:\Running Apps\Network-Monitor-App\uptime-sentinel\src\app\api\chat\route.ts 112:52 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 128:49 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 236:44 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 250:33 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 267:38 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 312:21 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any E:\Running Apps\Network-Monitor-App\uptime-sentinel\src\app\api\chat\sessions\route.ts 6:27 error 'req' is defined but never used. Allowed unused args must match /^_/u @typescript-eslint/no-unused-vars E:\Running Apps\Network-Monitor-App\uptime-sentinel\src\app\api\countries\route.ts 15:24 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 83:17 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 109:17 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 129:17 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any E:\Running Apps\Network-Monitor-App\uptime-sentinel\src\app\api\cron\cleanup\route.ts 5:27 error 'req' is defined but never used. Allowed unused args must match /^_/u @typescript-eslint/no-unused-vars 24:15 error 'retentionDays' is assigned a value but never used @typescript-eslint/no-unused-vars 51:21 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any E:\Running Apps\Network-Monitor-App\uptime-sentinel\src\app\api\cron\noc-expiry\route.ts 93:27 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 94:23 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 166:38 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 184:21 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any E:\Running Apps\Network-Monitor-App\uptime-sentinel\src\app\api\cron\route.ts 8:11 error 'key' is assigned a value but never used @typescript-eslint/no-unused-vars 29:21 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any E:\Running Apps\Network-Monitor-App\uptime-sentinel\src\app\api\cron\run-checks\route.ts 45:38 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 49:21 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any E:\Running Apps\Network-Monitor-App\uptime-sentinel\src\app\api\dashboard\kpi\route.ts 8:27 error 'req' is defined but never used. Allowed unused args must match /^_/u @typescript-eslint/no-unused-vars 17:28 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 67:13 error 'incidentFilter' is never reassigned. Use 'const' instead prefer-const 67:13 error 'incidentFilter' is assigned a value but never used @typescript-eslint/no-unused-vars 67:29 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 78:22 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 110:21 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any E:\Running Apps\Network-Monitor-App\uptime-sentinel\src\app\api\dashboard\monitors\route.ts 20:54 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 21:50 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 44:21 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any E:\Running Apps\Network-Monitor-App\uptime-sentinel\src\app\api\dashboard\sparklines\route.ts 27:21 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any E:\Running Apps\Network-Monitor-App\uptime-sentinel\src\app\api\dashboard\stats\route.ts 17:28 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 18:36 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 115:21 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any E:\Running Apps\Network-Monitor-App\uptime-sentinel\src\app\api\debug\notifications\route.ts 4:10 error 'NotificationDispatcher' is defined but never used @typescript-eslint/no-unused-vars 32:22 error 'e' is defined but never used @typescript-eslint/no-unused-vars 38:17 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any E:\Running Apps\Network-Monitor-App\uptime-sentinel\src\app\api\email-templates\route.ts 162:17 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 192:17 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 223:17 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any E:\Running Apps\Network-Monitor-App\uptime-sentinel\src\app\api\heartbeat\[token]\route.ts 75:21 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any E:\Running Apps\Network-Monitor-App\uptime-sentinel\src\app\api\incident-states\route.ts 13:21 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 20:68 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 33:21 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any E:\Running Apps\Network-Monitor-App\uptime-sentinel\src\app\api\incident-statuses\route.ts 28:17 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any E:\Running Apps\Network-Monitor-App\uptime-sentinel\src\app\api\incidents\[id]\postmortem\route.ts 68:21 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 189:21 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 245:21 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any E:\Running Apps\Network-Monitor-App\uptime-sentinel\src\app\api\incidents\[id]\timeline\route.ts 71:21 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 146:21 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any E:\Running Apps\Network-Monitor-App\uptime-sentinel\src\app\api\incidents\route.ts 15:27 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 29:34 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 30:45 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 30:68 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 53:28 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 82:14 error 'error' is defined but never used @typescript-eslint/no-unused-vars 148:21 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 219:21 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 251:21 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any E:\Running Apps\Network-Monitor-App\uptime-sentinel\src\app\api\monitors\[id]\restore\route.ts 32:21 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any E:\Running Apps\Network-Monitor-App\uptime-sentinel\src\app\api\monitors\import\route.ts 7:10 error 'z' is defined but never used @typescript-eslint/no-unused-vars 91:26 error 'e' is defined but never used @typescript-eslint/no-unused-vars 132:21 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any E:\Running Apps\Network-Monitor-App\uptime-sentinel\src\app\api\monitors\route.ts 113:18 error 'parseError' is defined but never used @typescript-eslint/no-unused-vars E:\Running Apps\Network-Monitor-App\uptime-sentinel\src\app\api\noc\auth\google\route.ts 23:28 error 'req' is defined but never used. Allowed unused args must match /^_/u @typescript-eslint/no-unused-vars 73:21 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any E:\Running Apps\Network-Monitor-App\uptime-sentinel\src\app\api\noc\auth\route.ts 69:23 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 142:21 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 155:15 error 'storedDeviceId' is assigned a value but never used @typescript-eslint/no-unused-vars 199:23 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 248:21 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 258:30 error 'req' is defined but never used. Allowed unused args must match /^_/u @typescript-eslint/no-unused-vars E:\Running Apps\Network-Monitor-App\uptime-sentinel\src\app\api\noc\monitors\route.ts 59:28 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 112:24 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 133:54 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 149:46 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 187:21 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any E:\Running Apps\Network-Monitor-App\uptime-sentinel\src\app\api\noc\tokens\route.ts 20:27 error 'req' is defined but never used. Allowed unused args must match /^_/u @typescript-eslint/no-unused-vars 22:38 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 41:27 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 86:21 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 98:38 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 129:29 error Optional chain expressions can return undefined by design - using a non-null assertion is unsafe and wrong @typescript-eslint/no-non-null-asserted-optional-chain 177:21 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 189:38 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 212:21 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any E:\Running Apps\Network-Monitor-App\uptime-sentinel\src\app\api\notification-rules\route.ts 20:22 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 62:21 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 101:21 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 152:21 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 190:21 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 201:27 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 239:51 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 240:49 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 247:21 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 280:21 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any E:\Running Apps\Network-Monitor-App\uptime-sentinel\src\app\api\notifications\test\route.ts 4:8 error 'nodemailer' is defined but never used @typescript-eslint/no-unused-vars 90:21 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any E:\Running Apps\Network-Monitor-App\uptime-sentinel\src\app\api\reports\analytics\route.ts 21:15 error 'isAdmin' is assigned a value but never used @typescript-eslint/no-unused-vars 50:28 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 65:34 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 66:48 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 66:75 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 252:30 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 296:30 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 363:15 error 'lastValidIndex' is assigned a value but never used @typescript-eslint/no-unused-vars 365:15 error 'periodAvgDns' is assigned a value but never used @typescript-eslint/no-unused-vars 429:21 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any E:\Running Apps\Network-Monitor-App\uptime-sentinel\src\app\api\reports\downtime\route.ts 25:29 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 68:24 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any E:\Running Apps\Network-Monitor-App\uptime-sentinel\src\app\api\reports\executive\route.ts 62:27 error 'req' is defined but never used. Allowed unused args must match /^_/u @typescript-eslint/no-unused-vars 77:15 error 'yearAgo' is assigned a value but never used @typescript-eslint/no-unused-vars 428:21 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any E:\Running Apps\Network-Monitor-App\uptime-sentinel\src\app\api\seed\route.ts 58:21 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any E:\Running Apps\Network-Monitor-App\uptime-sentinel\src\app\api\settings\route.ts 13:81 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 21:21 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 53:21 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any E:\Running Apps\Network-Monitor-App\uptime-sentinel\src\app\api\sla\reports\route.ts 21:22 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 53:21 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 107:21 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 116:31 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 146:32 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any E:\Running Apps\Network-Monitor-App\uptime-sentinel\src\app\api\sla\targets\route.ts 10:27 error 'req' is defined but never used. Allowed unused args must match /^_/u @typescript-eslint/no-unused-vars 48:21 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 107:21 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 136:27 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 154:21 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 189:21 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any E:\Running Apps\Network-Monitor-App\uptime-sentinel\src\app\api\sse\dashboard\route.ts 37:44 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 57:26 error 'e' is defined but never used @typescript-eslint/no-unused-vars 93:43 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 93:68 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any E:\Running Apps\Network-Monitor-App\uptime-sentinel\src\app\api\sse\route.ts 14:53 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 24:37 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any E:\Running Apps\Network-Monitor-App\uptime-sentinel\src\app\api\status\route.ts 41:21 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any E:\Running Apps\Network-Monitor-App\uptime-sentinel\src\app\api\synthetic-tests\[id]\run\route.ts 33:21 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 73:21 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any E:\Running Apps\Network-Monitor-App\uptime-sentinel\src\app\api\synthetic-tests\route.ts 70:21 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 127:21 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 155:27 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 180:21 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 215:21 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any E:\Running Apps\Network-Monitor-App\uptime-sentinel\src\app\api\tickets\import\route.ts 8:38 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 94:17 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any E:\Running Apps\Network-Monitor-App\uptime-sentinel\src\app\api\tickets\stats\route.ts 23:17 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any E:\Running Apps\Network-Monitor-App\uptime-sentinel\src\app\api\tickets\template\route.ts 8:38 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 39:17 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any E:\Running Apps\Network-Monitor-App\uptime-sentinel\src\app\api\user\2fa\route.ts 42:21 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 83:21 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 129:21 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any E:\Running Apps\Network-Monitor-App\uptime-sentinel\src\app\api\user\2fa\verify\route.ts 61:21 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any E:\Running Apps\Network-Monitor-App\uptime-sentinel\src\app\api\user\channels\route.ts 46:21 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any E:\Running Apps\Network-Monitor-App\uptime-sentinel\src\app\api\user\preferences\route.ts 26:30 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 27:31 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 44:27 error 'reports' is assigned a value but never used @typescript-eslint/no-unused-vars 59:19 error 'channels' is assigned a value but never used @typescript-eslint/no-unused-vars 59:39 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 100:21 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any E:\Running Apps\Network-Monitor-App\uptime-sentinel\src\app\api\user\profile\route.ts 13:29 error Optional chain expressions can return undefined by design - using a non-null assertion is unsafe and wrong @typescript-eslint/no-non-null-asserted-optional-chain 37:21 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 60:27 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 68:33 error Optional chain expressions can return undefined by design - using a non-null assertion is unsafe and wrong @typescript-eslint/no-non-null-asserted-optional-chain 77:29 error Optional chain expressions can return undefined by design - using a non-null assertion is unsafe and wrong @typescript-eslint/no-non-null-asserted-optional-chain 91:21 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any E:\Running Apps\Network-Monitor-App\uptime-sentinel\src\app\api\user\system-channels\route.ts 20:52 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 20:63 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 65:21 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any E:\Running Apps\Network-Monitor-App\uptime-sentinel\src\app\api\user\tokens\route.ts 22:21 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 61:21 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 91:21 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any E:\Running Apps\Network-Monitor-App\uptime-sentinel\src\app\api\users\route.ts 6:46 error 'deleteUserSchema' is defined but never used @typescript-eslint/no-unused-vars 65:17 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 93:27 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 114:17 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 147:17 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any E:\Running Apps\Network-Monitor-App\uptime-sentinel\src\app\api\webhooks\telegram\route.ts 51:42 error 'e' is defined but never used @typescript-eslint/no-unused-vars 146:21 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any E:\Running Apps\Network-Monitor-App\uptime-sentinel\src\app\audit-logs\page.tsx 11:50 error 'Activity' is defined but never used @typescript-eslint/no-unused-vars 55:8 warning React Hook useEffect has missing dependencies: 'fetchEmailLogs', 'fetchLogs', and 'router'. Either include them or remove the dependency array react-hooks/exhaustive-deps 173:47 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 197:46 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 246:40 error 'data' is defined but never used. Allowed unused args must match /^_/u @typescript-eslint/no-unused-vars 248:47 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any E:\Running Apps\Network-Monitor-App\uptime-sentinel\src\app\dashboard\incidents\[id]\page.tsx 61:11 error 'detectionEvent' is assigned a value but never used @typescript-eslint/no-unused-vars 71:23 error Error: Cannot call impure function during render `Date.now` is an impure function. Calling an impure function can produce unstable results that update unpredictably when the component happens to re-render. (https://react.dev/reference/rules/components-and-hooks-must-be-pure#components-and-hooks-must-be-idempotent). E:\Running Apps\Network-Monitor-App\uptime-sentinel\src\app\dashboard\incidents\[id]\page.tsx:71:23 69 | const duration = resolvedEvent 70 | ? Math.round((resolvedEvent.createdAt.getTime() - incident.createdAt.getTime()) / 60000) > 71 | : Math.round((Date.now() - incident.createdAt.getTime()) / 60000); | ^^^^^^^^^^ Cannot call impure function 72 | 73 | const metrics = { 74 | duration, react-hooks/purity E:\Running Apps\Network-Monitor-App\uptime-sentinel\src\app\dashboard\incidents\page.tsx 5:16 error 'Search' is defined but never used @typescript-eslint/no-unused-vars 5:24 error 'Filter' is defined but never used @typescript-eslint/no-unused-vars 5:50 error 'Check' is defined but never used @typescript-eslint/no-unused-vars 5:67 error 'Globe' is defined but never used @typescript-eslint/no-unused-vars 5:74 error 'Monitor' is defined but never used @typescript-eslint/no-unused-vars 19:62 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 20:58 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 33:9 error Error: Cannot access variable before it is declared `loadData` is accessed before it is declared, which prevents the earlier access from updating when this value changes over time. E:\Running Apps\Network-Monitor-App\uptime-sentinel\src\app\dashboard\incidents\page.tsx:33:9 31 | 32 | useEffect(() => { > 33 | loadData(); | ^^^^^^^^ `loadData` accessed before it is declared 34 | }, []); 35 | 36 | const loadData = async () => { E:\Running Apps\Network-Monitor-App\uptime-sentinel\src\app\dashboard\incidents\page.tsx:36:5 34 | }, []); 35 | > 36 | const loadData = async () => { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > 37 | try { | ^^^^^^^^^^^^^ > 38 | const [incs, mons, statuses, states] = await Promise.all([ ÔǪ | ^^^^^^^^^^^^^ > 58 | } | ^^^^^^^^^^^^^ > 59 | }; | ^^^^^^^ `loadData` is declared here 60 | 61 | const handleCreate = async () => { 62 | try { react-hooks/immutability 80:32 error 'prev' is defined but never used. Allowed unused args must match /^_/u @typescript-eslint/no-unused-vars 128:51 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 271:67 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 285:65 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 297:64 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any E:\Running Apps\Network-Monitor-App\uptime-sentinel\src\app\dashboard\page.tsx 8:44 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 20:14 error 'e' is defined but never used @typescript-eslint/no-unused-vars 38:10 error 'KpiCard' is defined but never used @typescript-eslint/no-unused-vars 38:72 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any E:\Running Apps\Network-Monitor-App\uptime-sentinel\src\app\incidents\[id]\page.tsx 62:11 error 'detectionEvent' is assigned a value but never used @typescript-eslint/no-unused-vars 72:23 error Error: Cannot call impure function during render `Date.now` is an impure function. Calling an impure function can produce unstable results that update unpredictably when the component happens to re-render. (https://react.dev/reference/rules/components-and-hooks-must-be-pure#components-and-hooks-must-be-idempotent). E:\Running Apps\Network-Monitor-App\uptime-sentinel\src\app\incidents\[id]\page.tsx:72:23 70 | const duration = resolvedEvent 71 | ? Math.round((resolvedEvent.createdAt.getTime() - incident.createdAt.getTime()) / 60000) > 72 | : Math.round((Date.now() - incident.createdAt.getTime()) / 60000); | ^^^^^^^^^^ Cannot call impure function 73 | 74 | const metrics = { 75 | duration, react-hooks/purity E:\Running Apps\Network-Monitor-App\uptime-sentinel\src\app\incidents\page.tsx 5:10 error 'AlertTriangle' is defined but never used @typescript-eslint/no-unused-vars 5:38 error 'Clock' is defined but never used @typescript-eslint/no-unused-vars 5:51 error 'Trash' is defined but never used @typescript-eslint/no-unused-vars 5:58 error 'Eye' is defined but never used @typescript-eslint/no-unused-vars 5:63 error 'EyeOff' is defined but never used @typescript-eslint/no-unused-vars 5:71 error 'Edit' is defined but never used @typescript-eslint/no-unused-vars 5:77 error 'Globe' is defined but never used @typescript-eslint/no-unused-vars 5:84 error 'MoreVertical' is defined but never used @typescript-eslint/no-unused-vars 11:48 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 14:60 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 29:9 error Error: Calling setState synchronously within an effect can trigger cascading renders Effects are intended to synchronize state between React and external systems such as manually updating the DOM, state management libraries, or other platform APIs. In general, the body of an effect should do one or both of the following: * Update external systems with the latest state from React. * Subscribe for updates from some external system, calling setState in a callback function when external state changes. Calling setState synchronously within an effect body causes cascading renders that can hurt performance, and is not recommended. (https://react.dev/learn/you-might-not-need-an-effect). E:\Running Apps\Network-Monitor-App\uptime-sentinel\src\app\incidents\page.tsx:29:9 27 | 28 | useEffect(() => { > 29 | fetchIncidents(); | ^^^^^^^^^^^^^^ Avoid calling setState() directly within an effect 30 | }, []); 31 | 32 | const handleCreate = () => { react-hooks/set-state-in-effect 37:35 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 111:61 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 112:40 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 113:46 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 114:44 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 121:75 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any E:\Running Apps\Network-Monitor-App\uptime-sentinel\src\app\login\page.tsx 23:36 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 24:36 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 42:25 warning Using `` could result in slower LCP and higher bandwidth. Consider using `` from `next/image` or a custom image loader to automatically optimize images. This may incur additional usage or cost from your provider. See: https://nextjs.org/docs/messages/no-img-element @next/next/no-img-element 91:25 warning Using `` could result in slower LCP and higher bandwidth. Consider using `` from `next/image` or a custom image loader to automatically optimize images. This may incur additional usage or cost from your provider. See: https://nextjs.org/docs/messages/no-img-element @next/next/no-img-element 97:24 error `'` can be escaped with `'`, `‘`, `'`, `’` react/no-unescaped-entities E:\Running Apps\Network-Monitor-App\uptime-sentinel\src\app\monitors\page.tsx 14:9 error 'monitors' is assigned a value but never used @typescript-eslint/no-unused-vars 15:9 error 'loading' is assigned a value but never used @typescript-eslint/no-unused-vars E:\Running Apps\Network-Monitor-App\uptime-sentinel\src\app\noc\page.tsx 53:20 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any E:\Running Apps\Network-Monitor-App\uptime-sentinel\src\app\profile\page.tsx 6:10 error 'NotificationChannels' is defined but never used @typescript-eslint/no-unused-vars 18:25 error Optional chain expressions can return undefined by design - using a non-null assertion is unsafe and wrong @typescript-eslint/no-non-null-asserted-optional-chain 31:29 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 32:29 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 33:28 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any E:\Running Apps\Network-Monitor-App\uptime-sentinel\src\app\reports\page.tsx 8:102 error 'Search' is defined but never used @typescript-eslint/no-unused-vars 13:15 error 'Country' is defined but never used @typescript-eslint/no-unused-vars 13:93 error 'AnalyticsRecommendation' is defined but never used @typescript-eslint/no-unused-vars 35:48 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 36:56 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 44:52 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 45:62 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 47:44 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 73:65 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 103:65 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 110:63 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 110:71 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 128:50 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 143:13 error Error: Calling setState synchronously within an effect can trigger cascading renders Effects are intended to synchronize state between React and external systems such as manually updating the DOM, state management libraries, or other platform APIs. In general, the body of an effect should do one or both of the following: * Update external systems with the latest state from React. * Subscribe for updates from some external system, calling setState in a callback function when external state changes. Calling setState synchronously within an effect body causes cascading renders that can hurt performance, and is not recommended. (https://react.dev/learn/you-might-not-need-an-effect). E:\Running Apps\Network-Monitor-App\uptime-sentinel\src\app\reports\page.tsx:143:13 141 | useEffect(() => { 142 | if (filters.region === 'Global') { > 143 | setFilteredMonitors(allMonitors); | ^^^^^^^^^^^^^^^^^^^ Avoid calling setState() directly within an effect 144 | } else { 145 | // Robust matching: Name OR Code 146 | const regionName = filters.region; react-hooks/set-state-in-effect 161:9 error Error: Calling setState synchronously within an effect can trigger cascading renders Effects are intended to synchronize state between React and external systems such as manually updating the DOM, state management libraries, or other platform APIs. In general, the body of an effect should do one or both of the following: * Update external systems with the latest state from React. * Subscribe for updates from some external system, calling setState in a callback function when external state changes. Calling setState synchronously within an effect body causes cascading renders that can hurt performance, and is not recommended. (https://react.dev/learn/you-might-not-need-an-effect). E:\Running Apps\Network-Monitor-App\uptime-sentinel\src\app\reports\page.tsx:161:9 159 | // Parallel Fetching for Speed 160 | useEffect(() => { > 161 | setLoading(true); | ^^^^^^^^^^ Avoid calling setState() directly within an effect 162 | // Reset 163 | setChartData(null); 164 | setWaterfallData(null); react-hooks/set-state-in-effect 269:63 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 271:33 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 456:59 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 577:42 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any E:\Running Apps\Network-Monitor-App\uptime-sentinel\src\app\settings\page.tsx 22:48 error 'Key' is defined but never used @typescript-eslint/no-unused-vars 22:75 error 'Activity' is defined but never used @typescript-eslint/no-unused-vars 39:12 error 'notifTab' is assigned a value but never used @typescript-eslint/no-unused-vars 39:22 error 'setNotifTab' is assigned a value but never used @typescript-eslint/no-unused-vars 164:194 error `"` can be escaped with `"`, `“`, `"`, `”` react/no-unescaped-entities 164:200 error `"` can be escaped with `"`, `“`, `"`, `”` react/no-unescaped-entities E:\Running Apps\Network-Monitor-App\uptime-sentinel\src\app\status\page.tsx 28:48 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any E:\Running Apps\Network-Monitor-App\uptime-sentinel\src\app\ticket-stats\page.tsx 16:48 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 17:52 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 24:9 error Error: Calling setState synchronously within an effect can trigger cascading renders Effects are intended to synchronize state between React and external systems such as manually updating the DOM, state management libraries, or other platform APIs. In general, the body of an effect should do one or both of the following: * Update external systems with the latest state from React. * Subscribe for updates from some external system, calling setState in a callback function when external state changes. Calling setState synchronously within an effect body causes cascading renders that can hurt performance, and is not recommended. (https://react.dev/learn/you-might-not-need-an-effect). E:\Running Apps\Network-Monitor-App\uptime-sentinel\src\app\ticket-stats\page.tsx:24:9 22 | 23 | useEffect(() => { > 24 | setLoading(true); | ^^^^^^^^^^ Avoid calling setState() directly within an effect 25 | setTrendData(null); 26 | setSummaryData(null); 27 | react-hooks/set-state-in-effect 54:74 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 58:49 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 61:51 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any E:\Running Apps\Network-Monitor-App\uptime-sentinel\src\components\audit\AuditFilters.tsx 4:10 error 'Search' is defined but never used @typescript-eslint/no-unused-vars 33:9 error Error: Calling setState synchronously within an effect can trigger cascading renders Effects are intended to synchronize state between React and external systems such as manually updating the DOM, state management libraries, or other platform APIs. In general, the body of an effect should do one or both of the following: * Update external systems with the latest state from React. * Subscribe for updates from some external system, calling setState in a callback function when external state changes. Calling setState synchronously within an effect body causes cascading renders that can hurt performance, and is not recommended. (https://react.dev/learn/you-might-not-need-an-effect). E:\Running Apps\Network-Monitor-App\uptime-sentinel\src\components\audit\AuditFilters.tsx:33:9 31 | // Update local state if parent changes (e.g. reset) 32 | useEffect(() => { > 33 | setLocalUserId(filters.userId); | ^^^^^^^^^^^^^^ Avoid calling setState() directly within an effect 34 | }, [filters.userId]); 35 | 36 | return ( react-hooks/set-state-in-effect E:\Running Apps\Network-Monitor-App\uptime-sentinel\src\components\audit\AuditTable.tsx 4:45 error 'UserIcon' is defined but never used @typescript-eslint/no-unused-vars 62:118 error `'` can be escaped with `'`, `‘`, `'`, `’` react/no-unescaped-entities 140:99 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 188:87 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 196:147 error 'e' is defined but never used @typescript-eslint/no-unused-vars 210:62 error 'e' is defined but never used @typescript-eslint/no-unused-vars E:\Running Apps\Network-Monitor-App\uptime-sentinel\src\components\audit\EmailAuditFilters.tsx 36:9 error Error: Calling setState synchronously within an effect can trigger cascading renders Effects are intended to synchronize state between React and external systems such as manually updating the DOM, state management libraries, or other platform APIs. In general, the body of an effect should do one or both of the following: * Update external systems with the latest state from React. * Subscribe for updates from some external system, calling setState in a callback function when external state changes. Calling setState synchronously within an effect body causes cascading renders that can hurt performance, and is not recommended. (https://react.dev/learn/you-might-not-need-an-effect). E:\Running Apps\Network-Monitor-App\uptime-sentinel\src\components\audit\EmailAuditFilters.tsx:36:9 34 | // Update local state if parent changes (e.g. reset) 35 | useEffect(() => { > 36 | setLocalSearch(filters.search); | ^^^^^^^^^^^^^^ Avoid calling setState() directly within an effect 37 | }, [filters.search]); 38 | 39 | return ( react-hooks/set-state-in-effect E:\Running Apps\Network-Monitor-App\uptime-sentinel\src\components\audit\EmailLogsTable.tsx 4:42 error 'Info' is defined but never used @typescript-eslint/no-unused-vars 4:48 error 'Clock' is defined but never used @typescript-eslint/no-unused-vars 4:55 error 'Calendar' is defined but never used @typescript-eslint/no-unused-vars E:\Running Apps\Network-Monitor-App\uptime-sentinel\src\components\audit\StatusHistoryTable.tsx 14:48 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 19:26 error 'setStatusFilter' is assigned a value but never used @typescript-eslint/no-unused-vars 123:52 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any E:\Running Apps\Network-Monitor-App\uptime-sentinel\src\components\chat\ChatMessage.tsx 3:15 error 'User' is defined but never used @typescript-eslint/no-unused-vars 3:43 error 'Check' is defined but never used @typescript-eslint/no-unused-vars 50:8 warning React Hook useEffect has a missing dependency: 'displayedContent'. Either include it or remove the dependency array react-hooks/exhaustive-deps 60:8 warning React Hook useEffect has missing dependencies: 'displayedContent' and 'isAi'. Either include them or remove the dependency array react-hooks/exhaustive-deps E:\Running Apps\Network-Monitor-App\uptime-sentinel\src\components\chat\ChatWidget.tsx 51:63 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 71:8 warning React Hook useEffect has missing dependencies: 'messages.length', 'sessionId', and 'setMessages'. Either include them or remove the dependency array react-hooks/exhaustive-deps 136:55 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 539:58 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any E:\Running Apps\Network-Monitor-App\uptime-sentinel\src\components\dashboard\CountyRegion.tsx 3:10 error 'useMemo' is defined but never used @typescript-eslint/no-unused-vars 4:15 error 'MonitorWithHeartbeats' is defined but never used @typescript-eslint/no-unused-vars E:\Running Apps\Network-Monitor-App\uptime-sentinel\src\components\dashboard\DashboardLayout.tsx 20:13 error Error: Calling setState synchronously within an effect can trigger cascading renders Effects are intended to synchronize state between React and external systems such as manually updating the DOM, state management libraries, or other platform APIs. In general, the body of an effect should do one or both of the following: * Update external systems with the latest state from React. * Subscribe for updates from some external system, calling setState in a callback function when external state changes. Calling setState synchronously within an effect body causes cascading renders that can hurt performance, and is not recommended. (https://react.dev/learn/you-might-not-need-an-effect). E:\Running Apps\Network-Monitor-App\uptime-sentinel\src\components\dashboard\DashboardLayout.tsx:20:13 18 | useEffect(() => { 19 | if (localStorage.theme === 'dark' || (!('theme' in localStorage) && window.matchMedia('(prefers-color-scheme: dark)').matches)) { > 20 | setIsDarkMode(true); | ^^^^^^^^^^^^^ Avoid calling setState() directly within an effect 21 | document.documentElement.classList.add('dark'); 22 | } else { 23 | setIsDarkMode(false); react-hooks/set-state-in-effect 30:9 error Error: Calling setState synchronously within an effect can trigger cascading renders Effects are intended to synchronize state between React and external systems such as manually updating the DOM, state management libraries, or other platform APIs. In general, the body of an effect should do one or both of the following: * Update external systems with the latest state from React. * Subscribe for updates from some external system, calling setState in a callback function when external state changes. Calling setState synchronously within an effect body causes cascading renders that can hurt performance, and is not recommended. (https://react.dev/learn/you-might-not-need-an-effect). E:\Running Apps\Network-Monitor-App\uptime-sentinel\src\components\dashboard\DashboardLayout.tsx:30:9 28 | // Close mobile menu on route change 29 | useEffect(() => { > 30 | setIsMobileMenuOpen(false); | ^^^^^^^^^^^^^^^^^^^ Avoid calling setState() directly within an effect 31 | }, [pathname]); 32 | 33 | const toggleTheme = () => { react-hooks/set-state-in-effect 55:21 warning Using `` could result in slower LCP and higher bandwidth. Consider using `` from `next/image` or a custom image loader to automatically optimize images. This may incur additional usage or cost from your provider. See: https://nextjs.org/docs/messages/no-img-element @next/next/no-img-element 126:18 error Error: Cannot create components during render Components created during render will reset their state each time they are created. Declare components outside of render. E:\Running Apps\Network-Monitor-App\uptime-sentinel\src\components\dashboard\DashboardLayout.tsx:126:18 124 | {/* Desktop Sidebar */} 125 | 128 | 129 | {/* Mobile Sidebar & Overlay */} E:\Running Apps\Network-Monitor-App\uptime-sentinel\src\components\dashboard\DashboardLayout.tsx:51:28 49 | }; 50 | > 51 | const SidebarContent = () => ( | ^^^^^^^ > 52 | <> | ^^^^^^^^^^ > 53 |
 | ^^^^^^^^^^ > 118 | | ^^^^^^^^^^ > 119 | ); | ^^^^^^ The component is created during render here 120 | 121 | return ( 122 |
react-hooks/static-components 147:22 error Error: Cannot create components during render Components created during render will reset their state each time they are created. Declare components outside of render. E:\Running Apps\Network-Monitor-App\uptime-sentinel\src\components\dashboard\DashboardLayout.tsx:147:22 145 | isMobileMenuOpen ? "translate-x-0" : "-translate-x-full" 146 | )}> > 147 | | ^^^^^^^^^^^^^^ This component is created during render 148 | 149 |
150 | E:\Running Apps\Network-Monitor-App\uptime-sentinel\src\components\dashboard\DashboardLayout.tsx:51:28 49 | }; 50 | > 51 | const SidebarContent = () => ( | ^^^^^^^ > 52 | <> | ^^^^^^^^^^ > 53 |
 | ^^^^^^^^^^ > 118 | | ^^^^^^^^^^ > 119 | ); | ^^^^^^ The component is created during render here 120 | 121 | return ( 122 |
react-hooks/static-components 198:71 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any E:\Running Apps\Network-Monitor-App\uptime-sentinel\src\components\dashboard\GlobalSearch.tsx 172:85 error `"` can be escaped with `"`, `“`, `"`, `”` react/no-unescaped-entities 172:93 error `"` can be escaped with `"`, `“`, `"`, `”` react/no-unescaped-entities E:\Running Apps\Network-Monitor-App\uptime-sentinel\src\components\dashboard\MonitorCard.tsx 24:102 error Error: Cannot call impure function during render `Date.now` is an impure function. Calling an impure function can produce unstable results that update unpredictably when the component happens to re-render. (https://react.dev/reference/rules/components-and-hooks-must-be-pure#components-and-hooks-must-be-idempotent). E:\Running Apps\Network-Monitor-App\uptime-sentinel\src\components\dashboard\MonitorCard.tsx:24:102 22 | 23 | // SSL Calculation > 24 | const daysToExpiry = lastHb?.tlsExpiresAt ? Math.ceil((new Date(lastHb.tlsExpiresAt).getTime() - Date.now()) / (1000 * 60 * 60 * 24)) : null; | ^^^^^^^^^^ Cannot call impure function 25 | 26 | // --- Stats Calculations for Overlay --- 27 | const responseTimes = heartbeats.filter((hb) => typeof hb.responseTimeMs === 'number').map((hb) => hb.responseTimeMs!); react-hooks/purity E:\Running Apps\Network-Monitor-App\uptime-sentinel\src\components\dashboard\MonitorGrid.tsx 6:18 error 'AnimatePresence' is defined but never used @typescript-eslint/no-unused-vars 41:90 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 102:13 error Error: Calling setState synchronously within an effect can trigger cascading renders Effects are intended to synchronize state between React and external systems such as manually updating the DOM, state management libraries, or other platform APIs. In general, the body of an effect should do one or both of the following: * Update external systems with the latest state from React. * Subscribe for updates from some external system, calling setState in a callback function when external state changes. Calling setState synchronously within an effect body causes cascading renders that can hurt performance, and is not recommended. (https://react.dev/learn/you-might-not-need-an-effect). E:\Running Apps\Network-Monitor-App\uptime-sentinel\src\components\dashboard\MonitorGrid.tsx:102:13 100 | return idxA - idxB; 101 | }); > 102 | setItems(sorted); | ^^^^^^^^ Avoid calling setState() directly within an effect 103 | } else { 104 | setItems(monitors); 105 | } react-hooks/set-state-in-effect 120:37 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any E:\Running Apps\Network-Monitor-App\uptime-sentinel\src\components\dashboard\Overview.tsx 4:25 error 'Loader2' is defined but never used @typescript-eslint/no-unused-vars 111:21 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 160:21 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 190:21 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any E:\Running Apps\Network-Monitor-App\uptime-sentinel\src\components\dashboard\SparklineGraph.tsx 3:67 error 'bgColor' is assigned a value but never used. Allowed unused args must match /^_/u @typescript-eslint/no-unused-vars E:\Running Apps\Network-Monitor-App\uptime-sentinel\src\components\dashboard\StatsOverviewWidget.tsx 51:48 error 'textColor' is defined but never used. Allowed unused args must match /^_/u @typescript-eslint/no-unused-vars 51:77 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any E:\Running Apps\Network-Monitor-App\uptime-sentinel\src\components\dashboard\StatusBars.tsx 3:70 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any E:\Running Apps\Network-Monitor-App\uptime-sentinel\src\components\dashboard\UptimeHeatmap.tsx 39:8 warning React Hook useEffect has a missing dependency: 'fetchData'. Either include it or remove the dependency array react-hooks/exhaustive-deps 56:18 error 'e' is defined but never used @typescript-eslint/no-unused-vars E:\Running Apps\Network-Monitor-App\uptime-sentinel\src\components\executive\ExecutiveDashboard.tsx 5:62 error 'Clock' is defined but never used @typescript-eslint/no-unused-vars 7:26 error 'Settings' is defined but never used @typescript-eslint/no-unused-vars 7:50 error 'Search' is defined but never used @typescript-eslint/no-unused-vars 7:58 error 'Filter' is defined but never used @typescript-eslint/no-unused-vars 8:40 error 'BarChart3' is defined but never used @typescript-eslint/no-unused-vars 8:51 error 'PieChart' is defined but never used @typescript-eslint/no-unused-vars 98:33 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 99:30 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 338:82 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 458:5 error 'setActiveView' is defined but never used. Allowed unused args must match /^_/u @typescript-eslint/no-unused-vars 461:12 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 537:65 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 538:24 error 'overview' is assigned a value but never used @typescript-eslint/no-unused-vars 580:71 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 626:73 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 649:54 error 'theme' is defined but never used. Allowed unused args must match /^_/u @typescript-eslint/no-unused-vars 649:84 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 710:29 error 'isDarkMode' is defined but never used. Allowed unused args must match /^_/u @typescript-eslint/no-unused-vars 710:51 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 744:45 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 767:63 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 786:73 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 786:85 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 825:25 error 'theme' is defined but never used. Allowed unused args must match /^_/u @typescript-eslint/no-unused-vars 825:58 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 826:46 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 880:35 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 924:47 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 984:53 error 'theme' is defined but never used. Allowed unused args must match /^_/u @typescript-eslint/no-unused-vars 984:62 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 1008:42 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 1031:42 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any E:\Running Apps\Network-Monitor-App\uptime-sentinel\src\components\executive\ExportBoardReport.tsx 3:20 error 'FileText' is defined but never used @typescript-eslint/no-unused-vars 114:46 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 125:45 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 151:65 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 176:56 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any E:\Running Apps\Network-Monitor-App\uptime-sentinel\src\components\executive\IncidentBreakdownChart.tsx 34:51 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 38:53 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any E:\Running Apps\Network-Monitor-App\uptime-sentinel\src\components\executive\LiveStatusIndicator.tsx 4:10 error 'Gauge' is defined but never used @typescript-eslint/no-unused-vars 4:42 error 'Loader2' is defined but never used @typescript-eslint/no-unused-vars 18:9 error Error: Cannot access variable before it is declared `fetchStatus` is accessed before it is declared, which prevents the earlier access from updating when this value changes over time. E:\Running Apps\Network-Monitor-App\uptime-sentinel\src\components\executive\LiveStatusIndicator.tsx:18:9 16 | 17 | useEffect(() => { > 18 | fetchStatus(); | ^^^^^^^^^^^ `fetchStatus` accessed before it is declared 19 | // Refresh every 30 seconds 20 | intervalRef.current = setInterval(fetchStatus, 30000); 21 | E:\Running Apps\Network-Monitor-App\uptime-sentinel\src\components\executive\LiveStatusIndicator.tsx:33:5 31 | }, []); 32 | > 33 | const fetchStatus = async () => { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > 34 | try { | ^^^^^^^^^^^^^ > 35 | const res = await fetch('/api/monitors'); ÔǪ | ^^^^^^^^^^^^^ > 58 | } | ^^^^^^^^^^^^^ > 59 | }; | ^^^^^^^ `fetchStatus` is declared here 60 | 61 | const statusConfig = { 62 | healthy: { react-hooks/immutability 40:48 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any E:\Running Apps\Network-Monitor-App\uptime-sentinel\src\components\executive\SLAStatusWidget.tsx 33:48 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 34:52 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 35:53 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any E:\Running Apps\Network-Monitor-App\uptime-sentinel\src\components\incidents\IncidentCard.tsx 4:15 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 42:52 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any E:\Running Apps\Network-Monitor-App\uptime-sentinel\src\components\incidents\IncidentDetailView.tsx 5:8 error 'Link' is defined but never used @typescript-eslint/no-unused-vars 7:16 error 'Clock' is defined but never used @typescript-eslint/no-unused-vars 7:38 error 'CheckCircle' is defined but never used @typescript-eslint/no-unused-vars 8:15 error 'Users' is defined but never used @typescript-eslint/no-unused-vars 14:15 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 166:57 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 179:71 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 229:70 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 285:78 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any E:\Running Apps\Network-Monitor-App\uptime-sentinel\src\components\incidents\IncidentFrequencyTrends.tsx 4:52 error 'Calendar' is defined but never used @typescript-eslint/no-unused-vars 24:8 warning React Hook useEffect has a missing dependency: 'fetchTrends'. Either include it or remove the dependency array react-hooks/exhaustive-deps 36:18 error 'err' is defined but never used @typescript-eslint/no-unused-vars 86:59 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any E:\Running Apps\Network-Monitor-App\uptime-sentinel\src\components\incidents\IncidentTimeline.tsx 6:50 error 'ChevronDown' is defined but never used @typescript-eslint/no-unused-vars 94:8 warning React Hook useEffect has a missing dependency: 'fetchTimeline'. Either include it or remove the dependency array react-hooks/exhaustive-deps 257:44 error 'index' is defined but never used. Allowed unused args must match /^_/u @typescript-eslint/no-unused-vars E:\Running Apps\Network-Monitor-App\uptime-sentinel\src\components\incidents\PostmortemEditor.tsx 5:56 error 'CheckCircle' is defined but never used @typescript-eslint/no-unused-vars 6:36 error 'Shield' is defined but never used @typescript-eslint/no-unused-vars 57:12 error 'exists' is assigned a value but never used @typescript-eslint/no-unused-vars 62:8 warning React Hook useEffect has a missing dependency: 'fetchPostmortem'. Either include it or remove the dependency array react-hooks/exhaustive-deps 99:61 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 184:15 error 'markdown' is assigned a value but never used @typescript-eslint/no-unused-vars 401:47 error `"` can be escaped with `"`, `“`, `"`, `”` react/no-unescaped-entities 401:54 error `"` can be escaped with `"`, `“`, `"`, `”` react/no-unescaped-entities 491:62 error `'` can be escaped with `'`, `‘`, `'`, `’` react/no-unescaped-entities 541:75 error `"` can be escaped with `"`, `“`, `"`, `”` react/no-unescaped-entities 541:84 error `"` can be escaped with `"`, `“`, `"`, `”` react/no-unescaped-entities E:\Running Apps\Network-Monitor-App\uptime-sentinel\src\components\monitors\AddMonitorModal.tsx 3:27 error 'Clock' is defined but never used @typescript-eslint/no-unused-vars 3:34 error 'Shield' is defined but never used @typescript-eslint/no-unused-vars 173:83 error `'` can be escaped with `'`, `‘`, `'`, `’` react/no-unescaped-entities 175:36 error `'` can be escaped with `'`, `‘`, `'`, `’` react/no-unescaped-entities E:\Running Apps\Network-Monitor-App\uptime-sentinel\src\components\monitors\BulkActions.tsx 7:14 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any E:\Running Apps\Network-Monitor-App\uptime-sentinel\src\components\monitors\ImportMonitorModal.tsx 4:21 error 'FileText' is defined but never used @typescript-eslint/no-unused-vars 7:10 error 'z' is defined but never used @typescript-eslint/no-unused-vars 20:12 error 'file' is assigned a value but never used @typescript-eslint/no-unused-vars 23:59 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 87:39 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 89:44 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 89:49 error 'index' is defined but never used. Allowed unused args must match /^_/u @typescript-eslint/no-unused-vars 339:89 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any E:\Running Apps\Network-Monitor-App\uptime-sentinel\src\components\monitors\MonitorTable.tsx 51:140 error Error: Cannot call impure function during render `Date.now` is an impure function. Calling an impure function can produce unstable results that update unpredictably when the component happens to re-render. (https://react.dev/reference/rules/components-and-hooks-must-be-pure#components-and-hooks-must-be-idempotent). E:\Running Apps\Network-Monitor-App\uptime-sentinel\src\components\monitors\MonitorTable.tsx:51:140 49 | {monitors.map((m) => { 50 | const lastHeartbeat = m.heartbeats?.[0]; > 51 | const daysToExpiry = lastHeartbeat?.tlsExpiresAt ? Math.ceil((new Date(lastHeartbeat.tlsExpiresAt).getTime() - Date.now()) / (1000 * 60 * 60 * 24)) : null; | ^^^^^^^^^^ Cannot call impure function 52 | const isUp = lastHeartbeat?.status === 'up'; 53 | 54 | return ( react-hooks/purity E:\Running Apps\Network-Monitor-App\uptime-sentinel\src\components\noc\NOCAuthWrapper.tsx 8:15 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 9:16 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 10:16 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any E:\Running Apps\Network-Monitor-App\uptime-sentinel\src\components\noc\NOCDisplay.tsx 6:27 error 'TrendingUp' is defined but never used @typescript-eslint/no-unused-vars 7:13 error 'Shield' is defined but never used @typescript-eslint/no-unused-vars 7:35 error 'XCircle' is defined but never used @typescript-eslint/no-unused-vars 7:57 error 'Radio' is defined but never used @typescript-eslint/no-unused-vars 72:7 error 'getLatencyBgGradient' is assigned a value but never used @typescript-eslint/no-unused-vars 89:36 error 'sseStatus' is assigned a value but never used @typescript-eslint/no-unused-vars 128:50 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 139:47 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any E:\Running Apps\Network-Monitor-App\uptime-sentinel\src\components\noc\NOCLogin.tsx 45:18 error 'err' is defined but never used @typescript-eslint/no-unused-vars E:\Running Apps\Network-Monitor-App\uptime-sentinel\src\components\noc\NOCMapView.tsx 129:7 error 'Popup' is assigned a value but never used @typescript-eslint/no-unused-vars 148:36 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 171:36 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 174:17 error Error: Calling setState synchronously within an effect can trigger cascading renders Effects are intended to synchronize state between React and external systems such as manually updating the DOM, state management libraries, or other platform APIs. In general, the body of an effect should do one or both of the following: * Update external systems with the latest state from React. * Subscribe for updates from some external system, calling setState in a callback function when external state changes. Calling setState synchronously within an effect body causes cascading renders that can hurt performance, and is not recommended. (https://react.dev/learn/you-might-not-need-an-effect). E:\Running Apps\Network-Monitor-App\uptime-sentinel\src\components\noc\NOCMapView.tsx:174:17 172 | if (map && map.flyTo) { 173 | map.flyTo(coords, 5, { duration: 1 }); > 174 | setHasZoomed(triggerZoom); | ^^^^^^^^^^^^ Avoid calling setState() directly within an effect 175 | } 176 | } 177 | }, [coords, triggerZoom, hasZoomed]); react-hooks/set-state-in-effect 190:9 error Error: Calling setState synchronously within an effect can trigger cascading renders Effects are intended to synchronize state between React and external systems such as manually updating the DOM, state management libraries, or other platform APIs. In general, the body of an effect should do one or both of the following: * Update external systems with the latest state from React. * Subscribe for updates from some external system, calling setState in a callback function when external state changes. Calling setState synchronously within an effect body causes cascading renders that can hurt performance, and is not recommended. (https://react.dev/learn/you-might-not-need-an-effect). E:\Running Apps\Network-Monitor-App\uptime-sentinel\src\components\noc\NOCMapView.tsx:190:9 188 | 189 | useEffect(() => { > 190 | setMounted(true); | ^^^^^^^^^^ Avoid calling setState() directly within an effect 191 | }, []); 192 | 193 | // Auto-zoom when external country filter changes react-hooks/set-state-in-effect 198:17 error Error: Calling setState synchronously within an effect can trigger cascading renders Effects are intended to synchronize state between React and external systems such as manually updating the DOM, state management libraries, or other platform APIs. In general, the body of an effect should do one or both of the following: * Update external systems with the latest state from React. * Subscribe for updates from some external system, calling setState in a callback function when external state changes. Calling setState synchronously within an effect body causes cascading renders that can hurt performance, and is not recommended. (https://react.dev/learn/you-might-not-need-an-effect). E:\Running Apps\Network-Monitor-App\uptime-sentinel\src\components\noc\NOCMapView.tsx:198:17 196 | const coords = COUNTRY_COORDS[selectedFilterCountry]; 197 | if (coords) { > 198 | setZoomTarget(coords); | ^^^^^^^^^^^^^ Avoid calling setState() directly within an effect 199 | setZoomTrigger(prev => prev + 1); 200 | } 201 | } else if (selectedFilterCountry === 'all') { react-hooks/set-state-in-effect 203:36 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 301:28 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 303:36 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any E:\Running Apps\Network-Monitor-App\uptime-sentinel\src\components\profile\AlertSettings.tsx 25:30 error 'e' is defined but never used @typescript-eslint/no-unused-vars E:\Running Apps\Network-Monitor-App\uptime-sentinel\src\components\profile\NotificationChannels.tsx 4:24 error 'CheckCircle' is defined but never used @typescript-eslint/no-unused-vars 4:37 error 'AlertTriangle' is defined but never used @typescript-eslint/no-unused-vars E:\Running Apps\Network-Monitor-App\uptime-sentinel\src\components\profile\SystemChannels.tsx 47:32 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 57:48 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 103:80 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any E:\Running Apps\Network-Monitor-App\uptime-sentinel\src\components\profile\UserProfileHeader.tsx 13:20 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 43:18 error 'e' is defined but never used @typescript-eslint/no-unused-vars 115:82 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 143:25 warning Using `` could result in slower LCP and higher bandwidth. Consider using `` from `next/image` or a custom image loader to automatically optimize images. This may incur additional usage or cost from your provider. See: https://nextjs.org/docs/messages/no-img-element @next/next/no-img-element E:\Running Apps\Network-Monitor-App\uptime-sentinel\src\components\settings\ApiTokenSettings.tsx 84:18 error 'e' is defined but never used @typescript-eslint/no-unused-vars 153:58 error `'` can be escaped with `'`, `‘`, `'`, `’` react/no-unescaped-entities 175:26 error `'` can be escaped with `'`, `‘`, `'`, `’` react/no-unescaped-entities E:\Running Apps\Network-Monitor-App\uptime-sentinel\src\components\settings\ConnectionSettings.tsx 15:13 error Error: Calling setState synchronously within an effect can trigger cascading renders Effects are intended to synchronize state between React and external systems such as manually updating the DOM, state management libraries, or other platform APIs. In general, the body of an effect should do one or both of the following: * Update external systems with the latest state from React. * Subscribe for updates from some external system, calling setState in a callback function when external state changes. Calling setState synchronously within an effect body causes cascading renders that can hurt performance, and is not recommended. (https://react.dev/learn/you-might-not-need-an-effect). E:\Running Apps\Network-Monitor-App\uptime-sentinel\src\components\settings\ConnectionSettings.tsx:15:13 13 | // Set Redirect URI on client side 14 | if (typeof window !== 'undefined') { > 15 | setRedirectUri(`${window.location.origin}/api/auth/callback/google`); | ^^^^^^^^^^^^^^ Avoid calling setState() directly within an effect 16 | } 17 | 18 | // Check if env vars are present (by calling a test endpoint or checking settings API if it returns masked values) react-hooks/set-state-in-effect 78:61 error `"` can be escaped with `"`, `“`, `"`, `”` react/no-unescaped-entities 78:86 error `"` can be escaped with `"`, `“`, `"`, `”` react/no-unescaped-entities E:\Running Apps\Network-Monitor-App\uptime-sentinel\src\components\settings\CountriesManager.tsx 4:17 error 'Plus' is defined but never used @typescript-eslint/no-unused-vars 4:42 error 'ChevronDown' is defined but never used @typescript-eslint/no-unused-vars 4:55 error 'ChevronRight' is defined but never used @typescript-eslint/no-unused-vars E:\Running Apps\Network-Monitor-App\uptime-sentinel\src\components\settings\IncidentStatusManagement.tsx 3:16 error 'Trash' is defined but never used @typescript-eslint/no-unused-vars 3:43 error 'X' is defined but never used @typescript-eslint/no-unused-vars 6:40 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 7:46 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any E:\Running Apps\Network-Monitor-App\uptime-sentinel\src\components\settings\NOCTokensManager.tsx 6:29 error 'Eye' is defined but never used @typescript-eslint/no-unused-vars 6:34 error 'EyeOff' is defined but never used @typescript-eslint/no-unused-vars 345:26 error `'` can be escaped with `'`, `‘`, `'`, `’` react/no-unescaped-entities E:\Running Apps\Network-Monitor-App\uptime-sentinel\src\components\settings\NotificationSettings.tsx 5:38 error 'AlertTriangle' is defined but never used @typescript-eslint/no-unused-vars 5:53 error 'Save' is defined but never used @typescript-eslint/no-unused-vars 7:11 error 'NotificationSettingsProps' is defined but never used @typescript-eslint/no-unused-vars 94:23 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 106:25 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 150:23 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 253:106 error `"` can be escaped with `"`, `“`, `"`, `”` react/no-unescaped-entities 253:118 error `"` can be escaped with `"`, `“`, `"`, `”` react/no-unescaped-entities 253:135 error `"` can be escaped with `"`, `“`, `"`, `”` react/no-unescaped-entities 253:156 error `"` can be escaped with `"`, `“`, `"`, `”` react/no-unescaped-entities E:\Running Apps\Network-Monitor-App\uptime-sentinel\src\components\settings\RegionsManager.tsx 4:17 error 'Plus' is defined but never used @typescript-eslint/no-unused-vars 4:23 error 'Globe' is defined but never used @typescript-eslint/no-unused-vars 7:44 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any E:\Running Apps\Network-Monitor-App\uptime-sentinel\src\components\settings\RulesList.tsx 4:69 error 'Zap' is defined but never used @typescript-eslint/no-unused-vars 65:8 warning React Hook useEffect has a missing dependency: 'fetchRules'. Either include it or remove the dependency array react-hooks/exhaustive-deps 286:29 error 'scope' is defined but never used. Allowed unused args must match /^_/u @typescript-eslint/no-unused-vars 286:36 error 'scopeId' is defined but never used. Allowed unused args must match /^_/u @typescript-eslint/no-unused-vars E:\Running Apps\Network-Monitor-App\uptime-sentinel\src\components\settings\ScriptSettings.tsx 9:12 error 'saving' is assigned a value but never used @typescript-eslint/no-unused-vars 126:125 error `"` can be escaped with `"`, `“`, `"`, `”` react/no-unescaped-entities 126:139 error `"` can be escaped with `"`, `“`, `"`, `”` react/no-unescaped-entities E:\Running Apps\Network-Monitor-App\uptime-sentinel\src\components\settings\SystemStatus.tsx 81:9 error Error: Cannot access variable before it is declared `fetchIncidents` is accessed before it is declared, which prevents the earlier access from updating when this value changes over time. E:\Running Apps\Network-Monitor-App\uptime-sentinel\src\components\settings\SystemStatus.tsx:81:9 79 | 80 | useEffect(() => { > 81 | fetchIncidents(); | ^^^^^^^^^^^^^^ `fetchIncidents` accessed before it is declared 82 | fetchData(); 83 | }, []); 84 | E:\Running Apps\Network-Monitor-App\uptime-sentinel\src\components\settings\SystemStatus.tsx:219:5 217 | const [showDeleted, setShowDeleted] = useState(false); 218 | > 219 | const fetchIncidents = () => { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > 220 | const query = new URLSearchParams(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > 221 | if (showDeleted) query.set('showDeleted', 'true'); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > 222 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > 223 | fetch(`/api/incidents?${query.toString()}`) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > 224 | .then(res => res.json()) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > 225 | .then(data => { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > 226 | if (data.success) setIncidents(data.incidents); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > 227 | }); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > 228 | }; | ^^^^^^^ `fetchIncidents` is declared here 229 | 230 | useEffect(() => { 231 | fetchIncidents(); react-hooks/immutability 83:8 warning React Hook useEffect has a missing dependency: 'fetchIncidents'. Either include it or remove the dependency array react-hooks/exhaustive-deps 123:35 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 130:72 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 131:71 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 192:38 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 197:67 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 232:8 warning React Hook useEffect has a missing dependency: 'fetchIncidents'. Either include it or remove the dependency array react-hooks/exhaustive-deps 335:69 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 395:61 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any E:\Running Apps\Network-Monitor-App\uptime-sentinel\src\components\settings\TemplateSettings.tsx 5:10 error 'Mail' is defined but never used @typescript-eslint/no-unused-vars 5:46 error 'Check' is defined but never used @typescript-eslint/no-unused-vars 5:53 error 'X' is defined but never used @typescript-eslint/no-unused-vars E:\Running Apps\Network-Monitor-App\uptime-sentinel\src\components\settings\TicketStatsSettings.tsx 4:28 error 'Plus' is defined but never used @typescript-eslint/no-unused-vars 13:54 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 16:44 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 24:76 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 60:22 error 'err' is defined but never used @typescript-eslint/no-unused-vars 91:18 error 'e' is defined but never used @typescript-eslint/no-unused-vars E:\Running Apps\Network-Monitor-App\uptime-sentinel\src\components\settings\TwoFactorSettings.tsx 57:18 error 'e' is defined but never used @typescript-eslint/no-unused-vars 89:18 error 'e' is defined but never used @typescript-eslint/no-unused-vars 120:18 error 'e' is defined but never used @typescript-eslint/no-unused-vars 186:26 error `'` can be escaped with `'`, `‘`, `'`, `’` react/no-unescaped-entities 208:29 warning Using `` could result in slower LCP and higher bandwidth. Consider using `` from `next/image` or a custom image loader to automatically optimize images. This may incur additional usage or cost from your provider. See: https://nextjs.org/docs/messages/no-img-element @next/next/no-img-element E:\Running Apps\Network-Monitor-App\uptime-sentinel\src\components\settings\UserManagement.tsx 4:25 error 'Shield' is defined but never used @typescript-eslint/no-unused-vars 8:40 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 9:44 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 10:12 error 'loading' is assigned a value but never used @typescript-eslint/no-unused-vars 26:9 error Error: Cannot access variable before it is declared `fetchUsers` is accessed before it is declared, which prevents the earlier access from updating when this value changes over time. E:\Running Apps\Network-Monitor-App\uptime-sentinel\src\components\settings\UserManagement.tsx:26:9 24 | 25 | useEffect(() => { > 26 | fetchUsers(); | ^^^^^^^^^^ `fetchUsers` accessed before it is declared 27 | fetchRegions(); 28 | }, []); 29 | E:\Running Apps\Network-Monitor-App\uptime-sentinel\src\components\settings\UserManagement.tsx:30:5 28 | }, []); 29 | > 30 | const fetchUsers = async () => { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > 31 | const res = await fetch('/api/users'); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > 32 | const data = await res.json(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > 33 | if (data.success) setUsers(data.users); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > 34 | setLoading(false); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > 35 | }; | ^^^^^^^ `fetchUsers` is declared here 36 | 37 | const fetchRegions = async () => { 38 | const res = await fetch('/api/countries'); react-hooks/immutability 27:9 error Error: Cannot access variable before it is declared `fetchRegions` is accessed before it is declared, which prevents the earlier access from updating when this value changes over time. E:\Running Apps\Network-Monitor-App\uptime-sentinel\src\components\settings\UserManagement.tsx:27:9 25 | useEffect(() => { 26 | fetchUsers(); > 27 | fetchRegions(); | ^^^^^^^^^^^^ `fetchRegions` accessed before it is declared 28 | }, []); 29 | 30 | const fetchUsers = async () => { E:\Running Apps\Network-Monitor-App\uptime-sentinel\src\components\settings\UserManagement.tsx:37:5 35 | }; 36 | > 37 | const fetchRegions = async () => { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > 38 | const res = await fetch('/api/countries'); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > 39 | const data = await res.json(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > 40 | if (data.success) setRegions(data.countries || []); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > 41 | }; | ^^^^^^^ `fetchRegions` is declared here 42 | 43 | const handleEdit = (user: any) => { 44 | setIsEditing(true); react-hooks/immutability 43:31 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 51:64 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 98:19 error 'url' is assigned a value but never used @typescript-eslint/no-unused-vars 127:18 error 'error' is defined but never used @typescript-eslint/no-unused-vars 196:68 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any E:\Running Apps\Network-Monitor-App\uptime-sentinel\src\components\sla\SLADashboard.tsx 4:40 error 'AlertTriangle' is defined but never used @typescript-eslint/no-unused-vars 4:55 error 'TrendingUp' is defined but never used @typescript-eslint/no-unused-vars 4:67 error 'Download' is defined but never used @typescript-eslint/no-unused-vars 30:19 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 55:18 error 'err' is defined but never used @typescript-eslint/no-unused-vars E:\Running Apps\Network-Monitor-App\uptime-sentinel\src\components\sla\SLAEditor.tsx 10:18 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any E:\Running Apps\Network-Monitor-App\uptime-sentinel\src\components\sla\SLAGauge.tsx 84:8 warning React Hook useEffect has a missing dependency: 'getColor'. Either include it or remove the dependency array react-hooks/exhaustive-deps E:\Running Apps\Network-Monitor-App\uptime-sentinel\src\components\status-page\ActiveIncidents.tsx 5:61 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 39:59 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 39:64 error 'idx' is defined but never used. Allowed unused args must match /^_/u @typescript-eslint/no-unused-vars 64:60 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any E:\Running Apps\Network-Monitor-App\uptime-sentinel\src\components\status-page\PublicLayout.tsx 11:13 error Error: Calling setState synchronously within an effect can trigger cascading renders Effects are intended to synchronize state between React and external systems such as manually updating the DOM, state management libraries, or other platform APIs. In general, the body of an effect should do one or both of the following: * Update external systems with the latest state from React. * Subscribe for updates from some external system, calling setState in a callback function when external state changes. Calling setState synchronously within an effect body causes cascading renders that can hurt performance, and is not recommended. (https://react.dev/learn/you-might-not-need-an-effect). E:\Running Apps\Network-Monitor-App\uptime-sentinel\src\components\status-page\PublicLayout.tsx:11:13 9 | useEffect(() => { 10 | if (localStorage.theme === 'dark' || (!('theme' in localStorage) && window.matchMedia('(prefers-color-scheme: dark)').matches)) { > 11 | setIsDarkMode(true); | ^^^^^^^^^^^^^ Avoid calling setState() directly within an effect 12 | document.documentElement.classList.add('dark'); 13 | } else { 14 | setIsDarkMode(false); react-hooks/set-state-in-effect 45:29 warning Using `` could result in slower LCP and higher bandwidth. Consider using `` from `next/image` or a custom image loader to automatically optimize images. This may incur additional usage or cost from your provider. See: https://nextjs.org/docs/messages/no-img-element @next/next/no-img-element E:\Running Apps\Network-Monitor-App\uptime-sentinel\src\components\status-page\ServiceGrid.tsx 3:32 error 'MinusCircle' is defined but never used @typescript-eslint/no-unused-vars 24:11 error 'bars' is assigned a value but never used @typescript-eslint/no-unused-vars E:\Running Apps\Network-Monitor-App\uptime-sentinel\src\components\synthetic\SyntheticTestDashboard.tsx 5:17 error 'Settings' is defined but never used @typescript-eslint/no-unused-vars 6:25 error 'Trash2' is defined but never used @typescript-eslint/no-unused-vars 6:33 error 'MoreVertical' is defined but never used @typescript-eslint/no-unused-vars 14:12 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any E:\Running Apps\Network-Monitor-App\uptime-sentinel\src\components\synthetic\SyntheticTestEditor.tsx 4:28 error 'Plus' is defined but never used @typescript-eslint/no-unused-vars 23:16 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 292:147 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any E:\Running Apps\Network-Monitor-App\uptime-sentinel\src\components\ui\ConfirmDialog.tsx 3:10 error 'X' is defined but never used @typescript-eslint/no-unused-vars 33:13 error Error: Calling setState synchronously within an effect can trigger cascading renders Effects are intended to synchronize state between React and external systems such as manually updating the DOM, state management libraries, or other platform APIs. In general, the body of an effect should do one or both of the following: * Update external systems with the latest state from React. * Subscribe for updates from some external system, calling setState in a callback function when external state changes. Calling setState synchronously within an effect body causes cascading renders that can hurt performance, and is not recommended. (https://react.dev/learn/you-might-not-need-an-effect). E:\Running Apps\Network-Monitor-App\uptime-sentinel\src\components\ui\ConfirmDialog.tsx:33:13 31 | useEffect(() => { 32 | if (isOpen) { > 33 | setInputValue(''); | ^^^^^^^^^^^^^ Avoid calling setState() directly within an effect 34 | // Prevent scrolling on body when modal is open 35 | document.body.style.overflow = 'hidden'; 36 | } else { react-hooks/set-state-in-effect E:\Running Apps\Network-Monitor-App\uptime-sentinel\src\components\ui\HtmlPreviewEditor.tsx 4:46 error 'Type' is defined but never used @typescript-eslint/no-unused-vars 4:71 error 'Link' is defined but never used @typescript-eslint/no-unused-vars 4:77 error 'Image' is defined but never used @typescript-eslint/no-unused-vars 4:84 error 'Quote' is defined but never used @typescript-eslint/no-unused-vars 4:127 error 'FileCode' is defined but never used @typescript-eslint/no-unused-vars E:\Running Apps\Network-Monitor-App\uptime-sentinel\src\components\ui\MultiSelect.tsx 4:30 error 'X' is defined but never used @typescript-eslint/no-unused-vars E:\Running Apps\Network-Monitor-App\uptime-sentinel\src\e2e\e2e\incident-reporting.spec.ts 72:18 error 'e' is defined but never used @typescript-eslint/no-unused-vars E:\Running Apps\Network-Monitor-App\uptime-sentinel\src\hooks\useChatStream.ts 16:87 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any E:\Running Apps\Network-Monitor-App\uptime-sentinel\src\hooks\useDashboardData.ts 18:48 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 97:58 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any E:\Running Apps\Network-Monitor-App\uptime-sentinel\src\hooks\useMonitors.ts 1:31 error 'useMemo' is defined but never used @typescript-eslint/no-unused-vars 113:18 error 'e' is defined but never used @typescript-eslint/no-unused-vars 138:18 error 'e' is defined but never used @typescript-eslint/no-unused-vars 166:18 error 'e' is defined but never used @typescript-eslint/no-unused-vars E:\Running Apps\Network-Monitor-App\uptime-sentinel\src\hooks\useSSEDashboard.ts 191:48 error 'event' is defined but never used. Allowed unused args must match /^_/u @typescript-eslint/no-unused-vars 198:17 error Error: Cannot access variable before it is declared `connect` is accessed before it is declared, which prevents the earlier access from updating when this value changes over time. E:\Running Apps\Network-Monitor-App\uptime-sentinel\src\hooks\useSSEDashboard.ts:198:17 196 | // Reconnect after a short delay 197 | reconnectTimeoutRef.current = setTimeout(() => { > 198 | connect(); | ^^^^^^^ `connect` accessed before it is declared 199 | }, 5000); 200 | }); 201 | E:\Running Apps\Network-Monitor-App\uptime-sentinel\src\hooks\useSSEDashboard.ts:95:5 93 | * Connect to SSE endpoint 94 | */ > 95 | const connect = useCallback(() => { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > 96 | // Check if EventSource is supported | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > 97 | if (typeof EventSource === 'undefined') { ÔǪ | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > 227 | }; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > 228 | }, [onUpdate, startFallbackPolling, stopFallbackPolling]); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `connect` is declared here 229 | 230 | /** 231 | * Disconnect from SSE react-hooks/immutability E:\Running Apps\Network-Monitor-App\uptime-sentinel\src\lib\ai\tools.ts 9:36 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 141:18 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 166:18 error 'e' is defined but never used @typescript-eslint/no-unused-vars 224:18 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 270:48 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 288:18 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 439:51 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 439:66 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any E:\Running Apps\Network-Monitor-App\uptime-sentinel\src\lib\email\logger.ts 7:49 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 18:22 error 'e' is defined but never used @typescript-eslint/no-unused-vars E:\Running Apps\Network-Monitor-App\uptime-sentinel\src\lib\email\transport.ts 45:29 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any E:\Running Apps\Network-Monitor-App\uptime-sentinel\src\lib\errors.ts 35:32 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any E:\Running Apps\Network-Monitor-App\uptime-sentinel\src\lib\notification-system\index.ts 2:10 error 'EmailChannel' is defined but never used @typescript-eslint/no-unused-vars E:\Running Apps\Network-Monitor-App\uptime-sentinel\src\lib\server\analytics.ts 65:18 error 'monitorWhere' is assigned a value but never used @typescript-eslint/no-unused-vars 148:9 error 'labelFormat' is never reassigned. Use 'const' instead prefer-const 148:9 error 'labelFormat' is assigned a value but never used @typescript-eslint/no-unused-vars 151:9 error 'dateFormat' is assigned a value but never used @typescript-eslint/no-unused-vars 271:9 error 'recommendations' is never reassigned. Use 'const' instead prefer-const 271:26 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 310:9 error 'isGlobalAdmin' is never reassigned. Use 'const' instead prefer-const 359:21 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any E:\Running Apps\Network-Monitor-App\uptime-sentinel\src\lib\server\ticket-analytics.ts 2:10 error 'Prisma' is defined but never used @typescript-eslint/no-unused-vars E:\Running Apps\Network-Monitor-App\uptime-sentinel\src\lib\services\__tests__\monitor.service.test.ts 3:10 error 'createMonitorSchema' is defined but never used @typescript-eslint/no-unused-vars 50:26 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 75:26 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any E:\Running Apps\Network-Monitor-App\uptime-sentinel\src\lib\services\audit.service.ts 4:118 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 32:22 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any E:\Running Apps\Network-Monitor-App\uptime-sentinel\src\lib\services\domain.service.ts 4:7 error 'resolveTxt' is assigned a value but never used @typescript-eslint/no-unused-vars 5:7 error 'resolveCname' is assigned a value but never used @typescript-eslint/no-unused-vars 119:25 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 132:46 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 153:43 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 168:41 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any E:\Running Apps\Network-Monitor-App\uptime-sentinel\src\lib\services\email.service.ts 2:8 error 'nodemailer' is defined but never used @typescript-eslint/no-unused-vars 84:32 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 186:31 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 213:25 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 244:26 error 'e' is defined but never used @typescript-eslint/no-unused-vars 287:26 error 'e' is defined but never used @typescript-eslint/no-unused-vars 345:25 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any E:\Running Apps\Network-Monitor-App\uptime-sentinel\src\lib\services\geolocation.service.ts 58:25 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 96:25 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any E:\Running Apps\Network-Monitor-App\uptime-sentinel\src\lib\services\incident-timeline.service.ts 20:31 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 119:33 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any E:\Running Apps\Network-Monitor-App\uptime-sentinel\src\lib\services\monitor.service.ts 12:74 error 'userNameOrEmail' is defined but never used. Allowed unused args must match /^_/u @typescript-eslint/no-unused-vars 31:22 error 'e' is defined but never used @typescript-eslint/no-unused-vars 46:44 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 61:26 error 'e' is defined but never used @typescript-eslint/no-unused-vars 99:40 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 198:75 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 226:39 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 228:13 error 'finalUrl' is never reassigned. Use 'const' instead prefer-const 239:22 error 'e' is defined but never used @typescript-eslint/no-unused-vars 242:27 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 260:26 error 'e' is defined but never used @typescript-eslint/no-unused-vars 311:27 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 425:24 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 443:75 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 592:33 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any E:\Running Apps\Network-Monitor-App\uptime-sentinel\src\lib\services\rollup.service.ts 2:10 error 'Monitor' is defined but never used @typescript-eslint/no-unused-vars 34:13 error 'totalRolledUp' is never reassigned. Use 'const' instead prefer-const 34:13 error 'totalRolledUp' is assigned a value but never used @typescript-eslint/no-unused-vars 46:15 error 'batchSize' is assigned a value but never used @typescript-eslint/no-unused-vars 47:13 error 'processedCount' is never reassigned. Use 'const' instead prefer-const 47:13 error 'processedCount' is assigned a value but never used @typescript-eslint/no-unused-vars 53:15 error 'aggregations' is assigned a value but never used @typescript-eslint/no-unused-vars 136:21 error 'key' is assigned a value but never used @typescript-eslint/no-unused-vars E:\Running Apps\Network-Monitor-App\uptime-sentinel\src\lib\services\rules-engine.service.ts 105:38 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 107:41 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 118:42 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 121:56 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 236:49 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 239:55 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any E:\Running Apps\Network-Monitor-App\uptime-sentinel\src\lib\services\sla-calculator.service.ts 69:13 error 'lastDownTime' is never reassigned. Use 'const' instead prefer-const 69:13 error 'lastDownTime' is assigned a value but never used @typescript-eslint/no-unused-vars 81:21 error 'monitorId' is assigned a value but never used @typescript-eslint/no-unused-vars E:\Running Apps\Network-Monitor-App\uptime-sentinel\src\lib\services\synthetic-test-runner.service.ts 106:39 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 176:27 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 206:15 error 'run' is assigned a value but never used @typescript-eslint/no-unused-vars E:\Running Apps\Network-Monitor-App\uptime-sentinel\src\scripts\test-create-monitor.ts 26:68 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any E:\Running Apps\Network-Monitor-App\uptime-sentinel\src\scripts\test-ping-verbose.js 2:14 error A `require()` style import is forbidden @typescript-eslint/no-require-imports E:\Running Apps\Network-Monitor-App\uptime-sentinel\src\scripts\test-ping.js 2:14 error A `require()` style import is forbidden @typescript-eslint/no-require-imports E:\Running Apps\Network-Monitor-App\uptime-sentinel\tailwind.config.ts 19:9 error A `require()` style import is forbidden @typescript-eslint/no-require-imports Ô£û 667 problems (649 errors, 18 warnings) 9 errors and 0 warnings potentially fixable with the `--fix` option.