Skip to content

[INTF23 ReviewDashboardChanges #126

[INTF23 ReviewDashboardChanges

[INTF23 ReviewDashboardChanges #126

Triggered via pull request December 19, 2023 22:45
Status Failure
Total duration 54s
Artifacts

lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

9 errors and 5 warnings
run-lint: backend/typescript/graphql/resolvers/dashboardResolvers.ts#L42
Replace `⏎········await·dashboardService.getApplicationsBySecondChoiceRole(secondChoice` with `·await·dashboardService.getApplicationsBySecondChoiceRole(⏎········secondChoice,⏎······`
run-lint: backend/typescript/models/applicationDashboard.model.ts#L71
Assignment to property of function parameter 'instance'
run-lint: backend/typescript/services/implementations/appDashboardService.ts#L171
Replace `⏎········await·applicationsBySecondChoiceRole.map(` with `·await·applicationsBySecondChoiceRole.map(⏎········`
run-lint: backend/typescript/services/implementations/appDashboardService.ts#L249
Replace `⏎······await·this.getApplicationsByRole(role` with `·await·this.getApplicationsByRole(⏎······role,⏎····`
run-lint: backend/typescript/services/implementations/appDashboardService.ts#L254
Replace `⏎··········await·this.getDashboardsByApplicationId(application.id` with `·await·this.getDashboardsByApplicationId(⏎··········application.id,⏎········`
run-lint: backend/typescript/services/implementations/appDashboardService.ts#L275
Replace `⏎······await·this.getApplicationsBySecondChoiceRole(role` with `·await·this.getApplicationsBySecondChoiceRole(⏎······role,⏎····`
run-lint: backend/typescript/services/implementations/appDashboardService.ts#L280
Replace `⏎··········await·this.getDashboardsByApplicationId(application.id` with `·await·this.getDashboardsByApplicationId(⏎··········application.id,⏎········`
run-lint
Process completed with exit code 1.
run-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/
run-lint: backend/typescript/middlewares/auth.ts#L57
'userIdField' is defined but never used
run-lint: backend/typescript/middlewares/auth.ts#L71
'authorized' is assigned a value but never used
run-lint: backend/typescript/middlewares/auth.ts#L86
'emailField' is defined but never used
run-lint: backend/typescript/models/applicationDashboard.model.ts#L69
Missing return type on function