
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)

