react-hooks/static-components
C:\Users\HP\Documents\PANA\PAN AFRICA\PAN\src\app\rider\dispatch\page.tsx
8:5 warning 'Truck' is defined but never used @typescript-eslint/no-unused-vars
8:12 warning 'AlertCircle' is defined but never used @typescript-eslint/no-unused-vars
8:39 warning 'Clock' is defined but never used @typescript-eslint/no-unused-vars
9:24 warning 'User' is defined but never used @typescript-eslint/no-unused-vars
38:48 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
40:46 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
41:56 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
44:12 warning 'riderId' is assigned a value but never used @typescript-eslint/no-unused-vars
52:60 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
61:49 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
74:43 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
83:92 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
88:75 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
C:\Users\HP\Documents\PANA\PAN AFRICA\PAN\src\app\rider\page.tsx
6:5 warning 'Zap' is defined but never used @typescript-eslint/no-unused-vars
24:40 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
25:40 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
37:64 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
64:30 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
280:31 warning 'i' is defined but never used @typescript-eslint/no-unused-vars
366:72 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
C:\Users\HP\Documents\PANA\PAN AFRICA\PAN\src\app\rider\performance\page.tsx
7:5 warning 'Clock' is defined but never used @typescript-eslint/no-unused-vars
7:38 warning 'ArrowUpRight' is defined but never used @typescript-eslint/no-unused-vars
18:40 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
19:40 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
28:60 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
50:35 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
62:35 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
73:11 warning 'BGS' is assigned a value but never used @typescript-eslint/no-unused-vars
140:137 error Error: Cannot call impure function during render
`Math.random` 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).
C:\Users\HP\Documents\PANA\PAN AFRICA\PAN\src\app\rider\performance\page.tsx:140:137
138 | {loading ? (
139 | Array.from({ length: 7 }).map((_, i) => (
> 140 |
| ^^^^^^^^^^^^^ Cannot call impure function
141 | ))
142 | ) : dailyData.length === 0 ? (
143 |
react-hooks/purity
246:68 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
C:\Users\HP\Documents\PANA\PAN AFRICA\PAN\src\app\rider\profile\page.tsx
28:40 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
109:26 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
111:23 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
123:66 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
125:30 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
140:26 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
C:\Users\HP\Documents\PANA\PAN AFRICA\PAN\src\components\AddressAutocomplete.tsx
31:32 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
C:\Users\HP\Documents\PANA\PAN AFRICA\PAN\src\components\BulkUploadModal.tsx
65:36 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
84:26 warning 'err' is defined but never used @typescript-eslint/no-unused-vars
C:\Users\HP\Documents\PANA\PAN AFRICA\PAN\src\components\GlobeSection.tsx
4:21 warning 'useRef' is defined but never used @typescript-eslint/no-unused-vars
78:31 error `'` can be escaped with `'`, `‘`, `'`, `’` react/no-unescaped-entities
C:\Users\HP\Documents\PANA\PAN AFRICA\PAN\src\components\Hero.tsx
82:72 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
118:17 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
152:32 error `'` can be escaped with `'`, `‘`, `'`, `’` react/no-unescaped-entities
C:\Users\HP\Documents\PANA\PAN AFRICA\PAN\src\components\Navbar.tsx
5:119 warning 'Tag' is defined but never used @typescript-eslint/no-unused-vars
43:7 warning 'standaloneLinks' is assigned a value but never used @typescript-eslint/no-unused-vars
C:\Users\HP\Documents\PANA\PAN AFRICA\PAN\src\components\ServiceCard.tsx
9:47 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
24:17 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
Γ£û 254 problems (150 errors, 104 warnings)
0 errors and 3 warnings potentially fixable with the `--fix` option.