linter order import #4070
Annotations
20 errors and 13 warnings
lint:
src/contexts/activityContext.tsx#L3
There should be no empty line within import group
|
lint:
src/contexts/activityContext.tsx#L5
`@mui/material` import should occur before import of `next/router`
|
lint:
src/contexts/classroomContext.tsx#L1
There should be no empty line within import group
|
lint:
src/contexts/classroomContext.tsx#L3
`@mui/material` import should occur before import of `react`
|
lint:
src/contexts/villageContext.tsx#L1
`next/link` import should occur after import of `@mui/material/Select`
|
lint:
src/contexts/villageContext.tsx#L2
`next/router` import should occur after import of `@mui/material/Select`
|
lint:
src/contexts/villageContext.tsx#L3
`notistack` import should occur after import of `@mui/material/Select`
|
lint:
src/contexts/villageContext.tsx#L4
There should be no empty line within import group
|
lint:
src/contexts/villageContext.tsx#L4
`react` import should occur after import of `@mui/material/Select`
|
lint:
src/pages/404.tsx#L2
There should be no empty line within import group
|
typescript:
server/controllers/statistics.ts#L155
Parameter 'phaseObj' implicitly has an 'any' type.
|
typescript:
server/controllers/statistics.ts#L156
Parameter 'activity' implicitly has an 'any' type.
|
typescript:
server/stats/classroomStats.ts#L81
Parameter 'inputData' implicitly has an 'any' type.
|
typescript:
server/stats/classroomStats.ts#L84
Binding element 'activities' implicitly has an 'any' type.
|
typescript:
server/stats/classroomStats.ts#L84
Binding element 'classroomCountryCode' implicitly has an 'any' type.
|
typescript:
server/stats/classroomStats.ts#L85
Binding element 'count' implicitly has an 'any' type.
|
typescript:
server/stats/classroomStats.ts#L85
Binding element 'phase' implicitly has an 'any' type.
|
typescript:
server/stats/classroomStats.ts#L85
Binding element 'type' implicitly has an 'any' type.
|
typescript:
server/stats/classroomStats.ts#L101
Binding element 'classroomCountryCode' implicitly has an 'any' type.
|
typescript:
server/stats/classroomStats.ts#L112
Element implicitly has an 'any' type because expression of type 'string' can't be used to index type '{}'.
|
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/
|
unit-test
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, actions/setup-node@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
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/
|
lint
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, actions/setup-node@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
lint:
server/controllers/statistics.ts#L5
'getClassroomsInfos' is defined but never used
|
lint:
server/controllers/statistics.ts#L7
'getContributedClassroomsCount' is defined but never used
|
lint:
server/controllers/statistics.ts#L165
'result' is assigned a value but never used
|
lint:
server/stats/classroomStats.ts#L2
'Activity' is defined but never used
|
lint:
server/stats/classroomStats.ts#L4
'Video' is defined but never used
|
lint:
server/stats/sessionStats.ts#L6
'durationThreshold' is assigned a value but never used
|
lint:
server/stats/sessionStats.ts#L7
'teacherType' is assigned a value but never used
|
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/
|
typescript
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, actions/setup-node@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|