test eslint fix #3595
Annotations
19 errors and 6 warnings
typescript:
src/components/WorldMap/WorldMap.tsx#L171
No overload matches this call.
|
typescript:
src/components/admin/dashboard-statistics/CountryStats.tsx#L73
Type '{ totalPublications: number; totalComments: number; totalVideos: number; className: string; }' is not assignable to type 'IntrinsicAttributes & ClassesExchangesCardProps'.
|
typescript:
src/components/admin/dashboard-statistics/CountryStats.tsx#L75
Type '{ barChartData: { data: number[]; }[]; className: string; }' is not assignable to type 'IntrinsicAttributes & Props & { children?: ReactNode; }'.
|
typescript:
src/components/admin/dashboard-statistics/VillageStats.tsx#L2
File '/home/runner/work/1village/1village/src/components/admin/dashboard-statistics/logRequests.tsx' is not a module.
|
typescript:
src/components/admin/dashboard-statistics/charts/BarCharts.tsx#L27
Type '{ scaleType: "band"; data: string[]; colorMap: { type: string; thresholds: Date[]; colors: string[]; }; }' is not assignable to type 'MakeOptional<AxisConfig<ScaleName, any>, "id">'.
|
typescript:
src/components/admin/dashboard-statistics/charts/HorizontalChart.tsx#L19
Variable 'dataset' implicitly has type 'any[]' in some locations where its type cannot be determined.
|
typescript:
src/components/admin/dashboard-statistics/charts/HorizontalChart.tsx#L33
Variable 'dataset' implicitly has an 'any[]' type.
|
typescript:
src/components/admin/dashboard-statistics/logRequests.tsx#L1
'logRequests.tsx' cannot be compiled under '--isolatedModules' because it is considered a global script file. Add an import, export, or an empty 'export {}' statement to make it a module.
|
typescript
Process completed with exit code 2.
|
lint:
.eslintrc.js#L1
Delete `·⏎`
|
lint:
.eslintrc.js#L2
'module' is not defined
|
lint:
next.config.js#L1
Delete `·⏎`
|
lint:
next.config.js#L2
'process' is not defined
|
lint:
next.config.js#L4
'module' is not defined
|
lint:
server/controllers/activity.ts#L7
`../../types/activity.type` import should occur before import of `../../types/anthem.type`
|
lint:
server/controllers/activity.ts#L8
`../../types/activity.type` import should occur before import of `../../types/anthem.type`
|
lint:
src/components/admin/dashboard-statistics/VillageStats.tsx#L1
There should be at least one empty line between import groups
|
|
|
unit-test
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions/setup-node@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
unit-test
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-node@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
typescript
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions/setup-node@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
typescript
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-node@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
lint
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions/setup-node@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
lint
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-node@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|