fix(lint): resolve the 4 ESLint errors blocking CI on main - #542
Merged
Annotations
10 errors and 11 warnings
|
Type Check:
__tests__/lib/csvExport.test.ts#L105
Tuple type '[]' of length '0' has no element at index '0'.
|
|
Type Check:
__tests__/lib/csvExport.test.ts#L91
Tuple type '[]' of length '0' has no element at index '0'.
|
|
Type Check:
__tests__/integration/DashboardMetrics.test.tsx#L7
Cannot find module '@/services/metricsService' or its corresponding type declarations.
|
|
Type Check:
__tests__/integration/DashboardMetrics.test.tsx#L6
Cannot find module '@/components/DashboardMetrics' or its corresponding type declarations.
|
|
Type Check:
__tests__/components/wallet/Disconnect.test.tsx#L104
Property 'disconnect' does not exist on type 'WalletService'.
|
|
Type Check:
__tests__/components/wallet/Disconnect.test.tsx#L77
Property 'disconnect' does not exist on type 'WalletService'.
|
|
Type Check:
__tests__/components/wallet/Disconnect.test.tsx#L62
Property 'disconnect' does not exist on type 'WalletService'.
|
|
Type Check:
__tests__/components/wallet/Disconnect.test.tsx#L26
Property 'disconnect' does not exist on type 'WalletService'.
|
|
Type Check:
__tests__/components/FleetMap.test.tsx#L6
Cannot find module 'mapbox-gl' or its corresponding type declarations.
|
|
Type Check:
__tests__/components/FleetMap.test.tsx#L5
Cannot find module '@/components/FleetMap' or its corresponding type declarations.
|
|
Complete job
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/checkout@v4, actions/setup-node@v4, pnpm/action-setup@v4. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
Lint:
app/api/federation/resolve/route.ts#L28
'e' is defined but never used
|
|
Lint
Using `<img>` could result in slower LCP and higher bandwidth. Consider using `<Image />` 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
|
|
Lint:
__tests__/features/checkout/checkout-flow.test.tsx#L2
'render' is defined but never used. Allowed unused vars must match /^_/u
|
|
Lint:
__tests__/features/checkout/checkout-flow.test.tsx#L1
'React' is defined but never used. Allowed unused vars must match /^_/u
|
|
Lint:
__tests__/components/wallet-connection.test.ts#L86
'user' is assigned a value but never used. Allowed unused vars must match /^_/u
|
|
Lint:
__tests__/components/wallet-connection.test.ts#L4
'waitFor' is defined but never used. Allowed unused vars must match /^_/u
|
|
Lint:
__tests__/components/wallet-connection.test.ts#L4
'render' is defined but never used. Allowed unused vars must match /^_/u
|
|
Lint:
__tests__/components/wallet-connection.test.ts#L3
'React' is defined but never used. Allowed unused vars must match /^_/u
|
|
Lint:
__tests__/components/shared/CommandPalette.test.tsx#L35
Elements with the ARIA role "option" must have the following attributes defined: aria-selected
|
|
Lint:
__tests__/components/shared/CommandPalette.test.tsx#L3
'waitFor' is defined but never used. Allowed unused vars must match /^_/u
|
background
wait
wait-all
cancel
parallel
Loading