> 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 `
` could result in slower LCP and higher bandwidth. Consider using `
` could result in slower LCP and higher bandwidth. Consider using `