C:\Users\opc\Downloads\New folder\WA-AKG\scripts\check_port.js 2:13 error A `require()` style import is forbidden @typescript-eslint/no-require-imports 12:33 warning 'err' is defined but never used @typescript-eslint/no-unused-vars C:\Users\opc\Downloads\New folder\WA-AKG\scripts\setup-admin.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 C:\Users\opc\Downloads\New folder\WA-AKG\src\app\api\auth\register\route.ts 19:9 error Use "@ts-expect-error" instead of "@ts-ignore", as "@ts-ignore" will do nothing if the following line is error-free @typescript-eslint/ban-ts-comment 56:21 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any C:\Users\opc\Downloads\New folder\WA-AKG\src\app\api\autoreplies\[sessionId]\route.ts 4:50 warning 'isAdmin' is defined but never used @typescript-eslint/no-unused-vars 87:13 error Use "@ts-expect-error" instead of "@ts-ignore", as "@ts-ignore" will do nothing if the following line is error-free @typescript-eslint/ban-ts-comment 138:14 warning 'error' is defined but never used @typescript-eslint/no-unused-vars C:\Users\opc\Downloads\New folder\WA-AKG\src\app\api\autoreplies\route.ts 3:50 warning 'isAdmin' is defined but never used @typescript-eslint/no-unused-vars C:\Users\opc\Downloads\New folder\WA-AKG\src\app\api\chat\[sessionId]\[jid]\presence\route.ts 47:62 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any C:\Users\opc\Downloads\New folder\WA-AKG\src\app\api\chat\[sessionId]\[jid]\profile-picture\route.ts 40:25 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any C:\Users\opc\Downloads\New folder\WA-AKG\src\app\api\chat\[sessionId]\[jid]\route.ts 61:53 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 63:61 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any C:\Users\opc\Downloads\New folder\WA-AKG\src\app\api\chat\[sessionId]\check\route.ts 57:26 warning 'error' is defined but never used @typescript-eslint/no-unused-vars C:\Users\opc\Downloads\New folder\WA-AKG\src\app\api\chat\[sessionId]\send\route.ts 65:97 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 75:83 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any C:\Users\opc\Downloads\New folder\WA-AKG\src\app\api\chat\check\route.ts 58:26 warning 'error' is defined but never used @typescript-eslint/no-unused-vars C:\Users\opc\Downloads\New folder\WA-AKG\src\app\api\chat\presence\route.ts 46:62 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any C:\Users\opc\Downloads\New folder\WA-AKG\src\app\api\chat\profile-picture\route.ts 47:25 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any C:\Users\opc\Downloads\New folder\WA-AKG\src\app\api\chat\send\route.ts 67:97 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 77:83 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any C:\Users\opc\Downloads\New folder\WA-AKG\src\app\api\contacts\[sessionId]\route.ts 38:22 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any C:\Users\opc\Downloads\New folder\WA-AKG\src\app\api\contacts\route.ts 35:18 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any C:\Users\opc\Downloads\New folder\WA-AKG\src\app\api\groups\[sessionId]\[jid]\description\route.ts 46:21 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any C:\Users\opc\Downloads\New folder\WA-AKG\src\app\api\groups\[sessionId]\[jid]\ephemeral\route.ts 63:21 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any C:\Users\opc\Downloads\New folder\WA-AKG\src\app\api\groups\[sessionId]\[jid]\invite\route.ts 39:21 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 85:21 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any C:\Users\opc\Downloads\New folder\WA-AKG\src\app\api\groups\[sessionId]\[jid]\leave\route.ts 38:21 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any C:\Users\opc\Downloads\New folder\WA-AKG\src\app\api\groups\[sessionId]\[jid]\members\route.ts 53:23 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 C:\Users\opc\Downloads\New folder\WA-AKG\src\app\api\groups\[sessionId]\[jid]\picture\route.ts 44:21 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 C:\Users\opc\Downloads\New folder\WA-AKG\src\app\api\groups\[sessionId]\[jid]\route.ts 43:18 warning 'e' is defined but never used @typescript-eslint/no-unused-vars C:\Users\opc\Downloads\New folder\WA-AKG\src\app\api\groups\[sessionId]\[jid]\settings\route.ts 19:26 warning 'value' is assigned a value but never used @typescript-eslint/no-unused-vars 47:73 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 55:21 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any C:\Users\opc\Downloads\New folder\WA-AKG\src\app\api\groups\[sessionId]\[jid]\subject\route.ts 49:21 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any C:\Users\opc\Downloads\New folder\WA-AKG\src\app\api\groups\[sessionId]\invite\accept\route.ts 44:21 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any C:\Users\opc\Downloads\New folder\WA-AKG\src\app\api\groups\invite\accept\route.ts 47:21 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any C:\Users\opc\Downloads\New folder\WA-AKG\src\app\api\labels\[sessionId]\[labelId]\route.ts 41:27 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any C:\Users\opc\Downloads\New folder\WA-AKG\src\app\api\labels\[sessionId]\route.ts 143:27 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any C:\Users\opc\Downloads\New folder\WA-AKG\src\app\api\media\[filename]\route.ts 51:21 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any C:\Users\opc\Downloads\New folder\WA-AKG\src\app\api\messages\[sessionId]\[jid]\[messageId]\reply\route.ts 25:36 warning 'fromMe' is assigned a value but never used @typescript-eslint/no-unused-vars 43:29 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 49:35 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 149:13 error 'msgPayload' is never reassigned. Use 'const' instead prefer-const 157:34 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any C:\Users\opc\Downloads\New folder\WA-AKG\src\app\api\messages\[sessionId]\[jid]\[messageId]\route.ts 44:21 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any C:\Users\opc\Downloads\New folder\WA-AKG\src\app\api\messages\[sessionId]\[jid]\[messageId]\star\route.ts 37:35 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any C:\Users\opc\Downloads\New folder\WA-AKG\src\app\api\messages\[sessionId]\[jid]\media\route.ts 44:31 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 49:22 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any C:\Users\opc\Downloads\New folder\WA-AKG\src\app\api\messages\[sessionId]\[jid]\reply\route.ts 25:47 warning 'fromMe' is assigned a value but never used @typescript-eslint/no-unused-vars 47:29 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 53:35 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 153:13 error 'msgPayload' is never reassigned. Use 'const' instead prefer-const 161:34 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any C:\Users\opc\Downloads\New folder\WA-AKG\src\app\api\messages\[sessionId]\[jid]\send\route.ts 66:97 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 76:83 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any C:\Users\opc\Downloads\New folder\WA-AKG\src\app\api\messages\[sessionId]\[jid]\sticker\route.ts 50:27 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 51:41 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any C:\Users\opc\Downloads\New folder\WA-AKG\src\app\api\messages\[sessionId]\search\route.ts 54:22 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any C:\Users\opc\Downloads\New folder\WA-AKG\src\app\api\messages\broadcast\route.ts 25:49 warning 'delay' is assigned a value but never used @typescript-eslint/no-unused-vars C:\Users\opc\Downloads\New folder\WA-AKG\src\app\api\messages\delete\route.ts 51:21 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any C:\Users\opc\Downloads\New folder\WA-AKG\src\app\api\messages\sticker\route.ts 46:41 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any C:\Users\opc\Downloads\New folder\WA-AKG\src\app\api\notifications\route.ts 6:27 warning 'req' is defined but never used @typescript-eslint/no-unused-vars 17:14 warning 'e' is defined but never used @typescript-eslint/no-unused-vars 51:35 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 80:35 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any C:\Users\opc\Downloads\New folder\WA-AKG\src\app\api\profile\[sessionId]\route.ts 44:18 warning 'error' is defined but never used @typescript-eslint/no-unused-vars C:\Users\opc\Downloads\New folder\WA-AKG\src\app\api\profile\route.ts 51:18 warning 'error' is defined but never used @typescript-eslint/no-unused-vars C:\Users\opc\Downloads\New folder\WA-AKG\src\app\api\scheduler\[sessionId]\[scheduleId]\route.ts 78:14 warning 'error' is defined but never used @typescript-eslint/no-unused-vars C:\Users\opc\Downloads\New folder\WA-AKG\src\app\api\scheduler\[sessionId]\route.ts 40:14 warning 'error' is defined but never used @typescript-eslint/no-unused-vars 79:9 error Use "@ts-expect-error" instead of "@ts-ignore", as "@ts-ignore" will do nothing if the following line is error-free @typescript-eslint/ban-ts-comment 141:14 warning 'error' is defined but never used @typescript-eslint/no-unused-vars C:\Users\opc\Downloads\New folder\WA-AKG\src\app\api\scheduler\route.ts 49:14 warning 'error' is defined but never used @typescript-eslint/no-unused-vars 85:9 error Use "@ts-expect-error" instead of "@ts-ignore", as "@ts-ignore" will do nothing if the following line is error-free @typescript-eslint/ban-ts-comment C:\Users\opc\Downloads\New folder\WA-AKG\src\app\api\sessions\[id]\[action]\route.ts 61:66 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any C:\Users\opc\Downloads\New folder\WA-AKG\src\app\api\sessions\[id]\bot-config\route.ts 22:9 error Use "@ts-expect-error" instead of "@ts-ignore", as "@ts-ignore" will do nothing if the following line is error-free @typescript-eslint/ban-ts-comment 23:42 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 81:9 error Use "@ts-expect-error" instead of "@ts-ignore", as "@ts-ignore" will do nothing if the following line is error-free @typescript-eslint/ban-ts-comment 82:41 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any C:\Users\opc\Downloads\New folder\WA-AKG\src\app\api\sessions\[id]\settings\route.ts 4:50 warning 'isAdmin' is defined but never used @typescript-eslint/no-unused-vars C:\Users\opc\Downloads\New folder\WA-AKG\src\app\api\sessions\route.ts 3:10 warning 'prisma' is defined but never used @typescript-eslint/no-unused-vars C:\Users\opc\Downloads\New folder\WA-AKG\src\app\api\settings\system\route.ts 7:9 error Use "@ts-expect-error" instead of "@ts-ignore", as "@ts-ignore" will do nothing if the following line is error-free @typescript-eslint/ban-ts-comment 13:14 warning 'error' is defined but never used @typescript-eslint/no-unused-vars 20:9 error Use "@ts-expect-error" instead of "@ts-ignore", as "@ts-ignore" will do nothing if the following line is error-free @typescript-eslint/ban-ts-comment 29:9 error Use "@ts-expect-error" instead of "@ts-ignore", as "@ts-ignore" will do nothing if the following line is error-free @typescript-eslint/ban-ts-comment 37:14 warning 'error' is defined but never used @typescript-eslint/no-unused-vars C:\Users\opc\Downloads\New folder\WA-AKG\src\app\api\status\[sessionId]\update\route.ts 56:35 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 97:24 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 109: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 136:17 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any C:\Users\opc\Downloads\New folder\WA-AKG\src\app\api\status\update\route.ts 56:35 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 97:24 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 109: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 140:17 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any C:\Users\opc\Downloads\New folder\WA-AKG\src\app\api\system\check-updates\route.ts 54:31 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any C:\Users\opc\Downloads\New folder\WA-AKG\src\app\api\user\api-key\route.ts 18:14 warning 'error' is defined but never used @typescript-eslint/no-unused-vars 55:14 warning 'error' is defined but never used @typescript-eslint/no-unused-vars C:\Users\opc\Downloads\New folder\WA-AKG\src\app\api\users\[id]\route.ts 28:27 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any C:\Users\opc\Downloads\New folder\WA-AKG\src\app\api\users\route.ts 38:14 warning 'error' is defined but never used @typescript-eslint/no-unused-vars 74:31 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any C:\Users\opc\Downloads\New folder\WA-AKG\src\app\api\webhooks\[sessionId]\route.ts 98:21 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any C:\Users\opc\Downloads\New folder\WA-AKG\src\app\api\webhooks\route.ts 19:14 warning 'error' is defined but never used @typescript-eslint/no-unused-vars 64:21 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any C:\Users\opc\Downloads\New folder\WA-AKG\src\app\auth\login\page.tsx 36:5 error React Hook "useEffect" cannot be called inside a callback. React Hooks must be called in a React function component or a custom React Hook function react-hooks/rules-of-hooks 70:14 warning 'err' is defined but never used @typescript-eslint/no-unused-vars 155:16 error `'` can be escaped with `'`, `‘`, `'`, `’` react/no-unescaped-entities C:\Users\opc\Downloads\New folder\WA-AKG\src\app\auth\register\page.tsx 40:9 error React Hook "useEffect" cannot be called inside a callback. React Hooks must be called in a React function component or a custom React Hook function react-hooks/rules-of-hooks 90:23 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any C:\Users\opc\Downloads\New folder\WA-AKG\src\app\dashboard\api-docs\page.tsx 9:19 warning 'session' is assigned a value but never used @typescript-eslint/no-unused-vars C:\Users\opc\Downloads\New folder\WA-AKG\src\app\dashboard\autoreply\page.tsx 4:52 warning 'CardDescription' is defined but never used @typescript-eslint/no-unused-vars 92:36 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 133:18 warning 'error' is defined but never used @typescript-eslint/no-unused-vars 148:18 warning 'error' is defined but never used @typescript-eslint/no-unused-vars C:\Users\opc\Downloads\New folder\WA-AKG\src\app\dashboard\bot-settings\page.tsx 65:8 warning React Hook useEffect has a missing dependency: 'fetchConfig'. Either include it or remove the dependency array react-hooks/exhaustive-deps 150:74 error `"` can be escaped with `"`, `“`, `"`, `”` react/no-unescaped-entities 150:89 error `"` can be escaped with `"`, `“`, `"`, `”` react/no-unescaped-entities 220:66 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 274:66 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any C:\Users\opc\Downloads\New folder\WA-AKG\src\app\dashboard\broadcast\page.tsx 3:20 warning 'useEffect' is defined but never used @typescript-eslint/no-unused-vars 7:10 warning 'Input' is defined but never used @typescript-eslint/no-unused-vars 10:27 warning 'Users' is defined but never used @typescript-eslint/no-unused-vars C:\Users\opc\Downloads\New folder\WA-AKG\src\app\dashboard\contacts\page.tsx 21:5 warning 'PaginationLink' is defined but never used @typescript-eslint/no-unused-vars 22:5 warning 'PaginationNext' is defined but never used @typescript-eslint/no-unused-vars 23:5 warning 'PaginationPrevious' is defined but never used @typescript-eslint/no-unused-vars 26:33 warning 'ChevronDown' is defined but never used @typescript-eslint/no-unused-vars 64:8 warning React Hook useEffect has a missing dependency: 'fetchContacts'. Either include it or remove the dependency array react-hooks/exhaustive-deps 69:8 warning React Hook useEffect has a missing dependency: 'fetchContacts'. Either include it or remove the dependency array react-hooks/exhaustive-deps C:\Users\opc\Downloads\New folder\WA-AKG\src\app\dashboard\groups\page.tsx 5:10 warning 'Card' is defined but never used @typescript-eslint/no-unused-vars 5:16 warning 'CardContent' is defined but never used @typescript-eslint/no-unused-vars 5:29 warning 'CardHeader' is defined but never used @typescript-eslint/no-unused-vars 5:41 warning 'CardTitle' is defined but never used @typescript-eslint/no-unused-vars 6:10 warning 'Dialog' is defined but never used @typescript-eslint/no-unused-vars 6:18 warning 'DialogContent' is defined but never used @typescript-eslint/no-unused-vars 6:33 warning 'DialogHeader' is defined but never used @typescript-eslint/no-unused-vars 6:47 warning 'DialogTitle' is defined but never used @typescript-eslint/no-unused-vars 6:60 warning 'DialogTrigger' is defined but never used @typescript-eslint/no-unused-vars 20:20 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 42:18 warning 'error' is defined but never used @typescript-eslint/no-unused-vars 73:18 warning 'error' is defined but never used @typescript-eslint/no-unused-vars C:\Users\opc\Downloads\New folder\WA-AKG\src\app\dashboard\layout.tsx 19:5 error Use "@ts-expect-error" instead of "@ts-ignore", as "@ts-ignore" will do nothing if the following line is error-free @typescript-eslint/ban-ts-comment C:\Users\opc\Downloads\New folder\WA-AKG\src\app\dashboard\notifications\page.tsx 14:10 warning 'useSession' is defined but never used @typescript-eslint/no-unused-vars 57:18 warning 'e' is defined but never used @typescript-eslint/no-unused-vars C:\Users\opc\Downloads\New folder\WA-AKG\src\app\dashboard\page.tsx 2:16 warning 'CardHeader' is defined but never used @typescript-eslint/no-unused-vars 2:28 warning 'CardTitle' is defined but never used @typescript-eslint/no-unused-vars 2:52 warning 'CardDescription' is defined but never used @typescript-eslint/no-unused-vars 12:5 warning 'Settings' is defined but never used @typescript-eslint/no-unused-vars 15:5 warning 'Activity' is defined but never used @typescript-eslint/no-unused-vars 36:11 warning 'otherSessions' is assigned a value but never used @typescript-eslint/no-unused-vars C:\Users\opc\Downloads\New folder\WA-AKG\src\app\dashboard\scheduler\page.tsx 78:18 warning 'error' is defined but never used @typescript-eslint/no-unused-vars 144:18 warning 'error' is defined but never used @typescript-eslint/no-unused-vars 159:18 warning 'error' is defined but never used @typescript-eslint/no-unused-vars C:\Users\opc\Downloads\New folder\WA-AKG\src\app\dashboard\sessions\[sessionId]\page.tsx 6:69 warning 'CardFooter' is defined but never used @typescript-eslint/no-unused-vars 8:54 warning 'Power' is defined but never used @typescript-eslint/no-unused-vars 8:69 warning 'QrCode' is defined but never used @typescript-eslint/no-unused-vars 46:12 warning 'socket' is assigned a value but never used @typescript-eslint/no-unused-vars 107:8 warning React Hook useEffect has a missing dependency: 'fetchSession'. Either include it or remove the dependency array react-hooks/exhaustive-deps 127:25 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 143:18 warning 'e' is defined but never used @typescript-eslint/no-unused-vars C:\Users\opc\Downloads\New folder\WA-AKG\src\app\dashboard\settings\page.tsx 16:48 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 16:101 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 252:38 warning 'e' is defined but never used @typescript-eslint/no-unused-vars C:\Users\opc\Downloads\New folder\WA-AKG\src\app\dashboard\sticker\page.tsx 3:20 warning 'useEffect' is defined but never used @typescript-eslint/no-unused-vars 39:13 error 'jid' is never reassigned. Use 'const' instead prefer-const 165:37 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 C:\Users\opc\Downloads\New folder\WA-AKG\src\app\dashboard\users\page.tsx 4:52 warning 'CardDescription' is defined but never used @typescript-eslint/no-unused-vars 10:36 warning 'Shield' is defined but never used @typescript-eslint/no-unused-vars 36:19 warning 'session' is assigned a value but never used @typescript-eslint/no-unused-vars 93:18 warning 'error' is defined but never used @typescript-eslint/no-unused-vars 116:18 warning 'error' is defined but never used @typescript-eslint/no-unused-vars 284:27 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any C:\Users\opc\Downloads\New folder\WA-AKG\src\app\dashboard\webhooks\page.tsx 65:8 warning React Hook useEffect has a missing dependency: 'fetchWebhooks'. Either include it or remove the dependency array react-hooks/exhaustive-deps 114:18 warning 'error' is defined but never used @typescript-eslint/no-unused-vars 152:28 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 181:18 warning 'error' is defined but never used @typescript-eslint/no-unused-vars 198:18 warning 'error' is defined but never used @typescript-eslint/no-unused-vars 221:18 warning 'error' is defined but never used @typescript-eslint/no-unused-vars 241:18 warning 'error' is defined but never used @typescript-eslint/no-unused-vars 295:97 error `"` can be escaped with `"`, `“`, `"`, `”` react/no-unescaped-entities 295:134 error `"` can be escaped with `"`, `“`, `"`, `”` react/no-unescaped-entities 412:76 error `"` can be escaped with `"`, `“`, `"`, `”` react/no-unescaped-entities 412:88 error `"` can be escaped with `"`, `“`, `"`, `”` react/no-unescaped-entities C:\Users\opc\Downloads\New folder\WA-AKG\src\app\docs\docs-client.tsx 9:16 warning 'X' is defined but never used @typescript-eslint/no-unused-vars 41: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). C:\Users\opc\Downloads\New folder\WA-AKG\src\app\docs\docs-client.tsx:41:9 39 | initial[section.id] = true; 40 | }); > 41 | setOpenSections(initial); | ^^^^^^^^^^^^^^^ Avoid calling setState() directly within an effect 42 | }, [toc]); 43 | 44 | // Debounce search query to prevent excessive re-renders react-hooks/set-state-in-effect 56: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). C:\Users\opc\Downloads\New folder\WA-AKG\src\app\docs\docs-client.tsx:56:13 54 | useEffect(() => { 55 | if (!debouncedQuery) { > 56 | setFilteredToc(toc); | ^^^^^^^^^^^^^^ Avoid calling setState() directly within an effect 57 | return; 58 | } 59 | react-hooks/set-state-in-effect 232:36 warning 'node' is defined but never used @typescript-eslint/no-unused-vars 236:36 warning 'node' is defined but never used @typescript-eslint/no-unused-vars 240:38 warning 'node' is defined but never used @typescript-eslint/no-unused-vars 240:85 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 263:39 warning 'node' is defined but never used @typescript-eslint/no-unused-vars 268:39 warning 'node' is defined but never used @typescript-eslint/no-unused-vars 269:36 warning 'node' is defined but never used @typescript-eslint/no-unused-vars 270:36 warning 'node' is defined but never used @typescript-eslint/no-unused-vars 271:37 warning 'node' is defined but never used @typescript-eslint/no-unused-vars C:\Users\opc\Downloads\New folder\WA-AKG\src\app\docs\page.tsx 3:8 warning 'ReactMarkdown' is defined but never used @typescript-eslint/no-unused-vars 4:8 warning 'remarkGfm' is defined but never used @typescript-eslint/no-unused-vars C:\Users\opc\Downloads\New folder\WA-AKG\src\app\icon.tsx 18:9 error 'color' is never reassigned. Use 'const' instead prefer-const 22:9 error Use "@ts-expect-error" instead of "@ts-ignore", as "@ts-ignore" will do nothing if the following line is error-free @typescript-eslint/ban-ts-comment C:\Users\opc\Downloads\New folder\WA-AKG\src\app\privacy\page.tsx 74:131 error `'` can be escaped with `'`, `‘`, `'`, `’` react/no-unescaped-entities 74:303 error `'` can be escaped with `'`, `‘`, `'`, `’` react/no-unescaped-entities C:\Users\opc\Downloads\New folder\WA-AKG\src\app\swagger\page.tsx 18: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). C:\Users\opc\Downloads\New folder\WA-AKG\src\app\swagger\page.tsx:18:13 16 | const isAuth = sessionStorage.getItem("swagger_auth") === "true"; 17 | if (isAuth) { > 18 | setAuthorized(true); | ^^^^^^^^^^^^^ Avoid calling setState() directly within an effect 19 | } 20 | setLoading(false); 21 | }, []); react-hooks/set-state-in-effect C:\Users\opc\Downloads\New folder\WA-AKG\src\app\terms\page.tsx 55:50 error `'` can be escaped with `'`, `‘`, `'`, `’` react/no-unescaped-entities 55:133 error `'` can be escaped with `'`, `‘`, `'`, `’` react/no-unescaped-entities 58:50 error `"` can be escaped with `"`, `“`, `"`, `”` react/no-unescaped-entities 58:55 error `"` can be escaped with `"`, `“`, `"`, `”` react/no-unescaped-entities 70:48 error `"` can be escaped with `"`, `“`, `"`, `”` react/no-unescaped-entities 70:54 error `"` can be escaped with `"`, `“`, `"`, `”` react/no-unescaped-entities 70:200 error `'` can be escaped with `'`, `‘`, `'`, `’` react/no-unescaped-entities C:\Users\opc\Downloads\New folder\WA-AKG\src\auth.config.ts 23:39 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 30:34 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any C:\Users\opc\Downloads\New folder\WA-AKG\src\components\chat\chat-list.tsx 64:55 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 69:25 error 'updatedChats' is never reassigned. Use 'const' instead prefer-const C:\Users\opc\Downloads\New folder\WA-AKG\src\components\chat\chat-window.tsx 4:34 warning 'AvatarImage' is defined but never used @typescript-eslint/no-unused-vars 10:78 warning 'AlertCircle' is defined but never used @typescript-eslint/no-unused-vars 37:12 warning 'socket' is assigned a value but never used @typescript-eslint/no-unused-vars 99:8 warning React Hook useEffect has a missing dependency: 'fetchMessages'. Either include it or remove the dependency array react-hooks/exhaustive-deps 191:33 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 194:33 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 C:\Users\opc\Downloads\New folder\WA-AKG\src\components\dashboard\mobile-nav.tsx 6:16 warning 'ChevronDown' is defined but never used @typescript-eslint/no-unused-vars 88:5 error Use "@ts-expect-error" instead of "@ts-ignore", as "@ts-ignore" will do nothing if the following line is error-free @typescript-eslint/ban-ts-comment C:\Users\opc\Downloads\New folder\WA-AKG\src\components\dashboard\navbar.tsx 36:12 warning 'socket' is assigned a value but never used @typescript-eslint/no-unused-vars 46:18 warning 'e' is defined but never used @typescript-eslint/no-unused-vars 53: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). C:\Users\opc\Downloads\New folder\WA-AKG\src\components\dashboard\navbar.tsx:53:9 51 | useEffect(() => { 52 | // Initial fetch > 53 | fetchNotifications(); | ^^^^^^^^^^^^^^^^^^ Avoid calling setState() directly within an effect 54 | 55 | // Setup Socket.IO connection 56 | if (session?.user?.id) { react-hooks/set-state-in-effect 90:8 warning React Hook useEffect has a missing dependency: 'router'. Either include it or remove the dependency array react-hooks/exhaustive-deps 109:18 warning 'e' is defined but never used @typescript-eslint/no-unused-vars 127:18 warning 'e' is defined but never used @typescript-eslint/no-unused-vars 180:98 error `'` can be escaped with `'`, `‘`, `'`, `’` react/no-unescaped-entities C:\Users\opc\Downloads\New folder\WA-AKG\src\components\dashboard\realtime-clock.tsx 13: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). C:\Users\opc\Downloads\New folder\WA-AKG\src\components\dashboard\realtime-clock.tsx:13:9 11 | 12 | useEffect(() => { > 13 | setMounted(true); | ^^^^^^^^^^ Avoid calling setState() directly within an effect 14 | // Fetch global timezone 15 | fetch('/api/settings/system') 16 | .then(r => r.json()) react-hooks/set-state-in-effect C:\Users\opc\Downloads\New folder\WA-AKG\src\components\dashboard\session-guard.tsx 4:10 warning 'Bot' is defined but never used @typescript-eslint/no-unused-vars 31:69 error `'` can be escaped with `'`, `‘`, `'`, `’` react/no-unescaped-entities C:\Users\opc\Downloads\New folder\WA-AKG\src\components\dashboard\session-manager.tsx 5:8 warning 'QRCode' is defined but never used @typescript-eslint/no-unused-vars 12:28 warning 'Trash2' is defined but never used @typescript-eslint/no-unused-vars 12:46 warning 'RefreshCw' is defined but never used @typescript-eslint/no-unused-vars 12:57 warning 'Power' is defined but never used @typescript-eslint/no-unused-vars 23:50 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 28:12 warning 'socket' is assigned a value but never used @typescript-eslint/no-unused-vars 105:21 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any C:\Users\opc\Downloads\New folder\WA-AKG\src\components\dashboard\sidebar-nav.tsx 91:5 error Use "@ts-expect-error" instead of "@ts-ignore", as "@ts-ignore" will do nothing if the following line is error-free @typescript-eslint/ban-ts-comment C:\Users\opc\Downloads\New folder\WA-AKG\src\lib\webhook.ts 6:8 warning 'pino' is defined but never used @typescript-eslint/no-unused-vars 22:11 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 31:11 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 87:62 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 87:68 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 103:43 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 191:41 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 222:69 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 236:17 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 242:28 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 264:57 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 322:65 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 332:18 warning 'e' is defined but never used @typescript-eslint/no-unused-vars 363:10 warning 'getChatType' is defined but never used @typescript-eslint/no-unused-vars 385:37 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 429:47 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 429:80 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 434:22 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any C:\Users\opc\Downloads\New folder\WA-AKG\src\modules\whatsapp\auth\usePrismaAuthState.ts 24:62 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 45:18 warning 'error' is defined but never used @typescript-eslint/no-unused-vars C:\Users\opc\Downloads\New folder\WA-AKG\src\modules\whatsapp\bot\command-handler.ts 75:5 error Use "@ts-expect-error" instead of "@ts-ignore", as "@ts-ignore" will do nothing if the following line is error-free @typescript-eslint/ban-ts-comment 76:40 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 85:32 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 96:44 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 110:44 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 199:37 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 205:52 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 222:48 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 288:76 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 292:107 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 301:42 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 302:53 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 315:109 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 322:44 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 328:57 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any C:\Users\opc\Downloads\New folder\WA-AKG\src\modules\whatsapp\instance.ts 26:13 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 42:44 error React Hook "usePrismaAuthState" cannot be called in a class component. React Hooks must be called in a React function component or a custom React Hook function react-hooks/rules-of-hooks 47:82 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 51:124 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 91:56 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 114:26 warning 'e' is defined but never used @typescript-eslint/no-unused-vars 134:30 warning 'e' is defined but never used @typescript-eslint/no-unused-vars 173:25 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any C:\Users\opc\Downloads\New folder\WA-AKG\src\modules\whatsapp\manager.ts 42:36 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 43:34 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any C:\Users\opc\Downloads\New folder\WA-AKG\src\modules\whatsapp\scheduler.ts 25:34 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any C:\Users\opc\Downloads\New folder\WA-AKG\src\modules\whatsapp\store\autoreply.ts 6:31 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 60:13 error Use "@ts-expect-error" instead of "@ts-ignore", as "@ts-ignore" will do nothing if the following line is error-free @typescript-eslint/ban-ts-comment 66:9 error Use "@ts-expect-error" instead of "@ts-ignore", as "@ts-ignore" will do nothing if the following line is error-free @typescript-eslint/ban-ts-comment 67:34 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 134:38 warning 'e' is defined but never used @typescript-eslint/no-unused-vars 143:54 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any C:\Users\opc\Downloads\New folder\WA-AKG\src\modules\whatsapp\store\contacts.ts 61:77 warning 'isLatest' is defined but never used @typescript-eslint/no-unused-vars 81:42 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any C:\Users\opc\Downloads\New folder\WA-AKG\src\modules\whatsapp\store\groups.ts 2:25 warning 'GroupMetadata' is defined but never used @typescript-eslint/no-unused-vars 38:58 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 39:41 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 47:58 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 48:41 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any C:\Users\opc\Downloads\New folder\WA-AKG\src\modules\whatsapp\store\index.ts 2:36 warning 'Contact' is defined but never used @typescript-eslint/no-unused-vars 122:25 error Use "@ts-expect-error" instead of "@ts-ignore", as "@ts-ignore" will do nothing if the following line is error-free @typescript-eslint/ban-ts-comment 126:25 error Use "@ts-expect-error" instead of "@ts-ignore", as "@ts-ignore" will do nothing if the following line is error-free @typescript-eslint/ban-ts-comment 129:36 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 132:25 error Use "@ts-expect-error" instead of "@ts-ignore", as "@ts-ignore" will do nothing if the following line is error-free @typescript-eslint/ban-ts-comment 136:25 error Use "@ts-expect-error" instead of "@ts-ignore", as "@ts-ignore" will do nothing if the following line is error-free @typescript-eslint/ban-ts-comment 139:36 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 172:47 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 299:34 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 309:29 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 327:17 error Use "@ts-expect-error" instead of "@ts-ignore", as "@ts-ignore" will do nothing if the following line is error-free @typescript-eslint/ban-ts-comment 334:17 error Use "@ts-expect-error" instead of "@ts-ignore", as "@ts-ignore" will do nothing if the following line is error-free @typescript-eslint/ban-ts-comment C:\Users\opc\Downloads\New folder\WA-AKG\src\modules\whatsapp\store\ppguard.ts 3:51 warning 'sessionId' is defined but never used @typescript-eslint/no-unused-vars C:\Users\opc\Downloads\New folder\WA-AKG\src\server\index.ts 39:14 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any C:\Users\opc\Downloads\New folder\WA-AKG\src\types\next-auth.d.ts 1:8 warning 'NextAuth' is defined but never used @typescript-eslint/no-unused-vars Γ£û 314 problems (189 errors, 125 warnings) 5 errors and 0 warnings potentially fixable with the `--fix` option.