Files
Imago/imago-admin/eslint_output.txt
T
bruno 2f2a5e9b4a
CI / Lint & Format (push) Failing after 28s
CI / Tests (push) Has been skipped
CI / Security Scan (push) Failing after 8s
CI / Docker Build (push) Has been skipped
Add admin panel, WebSocket support, and API versioning
Introduce an admin portal (React + Nginx), WebSocket routing, and
API versioning middleware with `/api/v1/` prefix deprecation.
Add master API key authentication, new Prometheus metrics for AI
token consumption and active WebSockets, and extend S3 config
with a public endpoint URL. Update test paths and fixtures to
align with the new routing structure.
2026-06-22 11:25:22 -04:00

51 lines
2.7 KiB
Plaintext

C:\dev\git\python\imago\imago-admin\src\api\images.ts
14:25 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
18:19 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
102:35 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
102:43 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
122:31 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
C:\dev\git\python\imago\imago-admin\src\components\layout\Sidebar.tsx
17:14 error Fast refresh only works when a file only exports components. Use a new file to share constants or functions between components react-refresh/only-export-components
C:\dev\git\python\imago\imago-admin\src\components\shared\Toast.tsx
19:14 error Fast refresh only works when a file only exports components. Use a new file to share constants or functions between components react-refresh/only-export-components
33:17 error Fast refresh only works when a file only exports components. Use a new file to share constants or functions between components react-refresh/only-export-components
85:39 error '_id' is defined but never used @typescript-eslint/no-unused-vars
C:\dev\git\python\imago\imago-admin\src\hooks\useWebSocket.ts
51:60 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.
C:\dev\git\python\imago\imago-admin\src\hooks\useWebSocket.ts:51:60
49 | const delay = reconnectDelay * Math.pow(2, reconnectCountRef.current);
50 | reconnectCountRef.current++;
> 51 | reconnectTimerRef.current = setTimeout(connect, delay);
| ^^^^^^^ `connect` accessed before it is declared
52 | }
53 | };
54 |
C:\dev\git\python\imago\imago-admin\src\hooks\useWebSocket.ts:23:5
21 | } = options;
22 |
> 23 | const connect = useCallback(() => {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> 24 | if (!url) return;
| ^^^^^^^^^^^^^^^^^^^^^^^^^
> 25 |

| ^^^^^^^^^^^^^^^^^^^^^^^^^
> 60 | }
| ^^^^^^^^^^^^^^^^^^^^^^^^^
> 61 | }, [url, reconnectDelay, maxReconnectAttempts]);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `connect` is declared here
62 |
63 | useEffect(() => {
64 | connect(); react-hooks/immutability
Ô£û 10 problems (10 errors, 0 warnings)