Skip to content

Delegation Algorithm #133

Delegation Algorithm

Delegation Algorithm #133

Triggered via pull request March 21, 2024 00:31
Status Failure
Total duration 51s
Artifacts

lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 7 warnings
run-lint: backend/typescript/delegation-algorithm/src/index.ts#L1
Replace `'../../models'` with `"../../models"`
run-lint: backend/typescript/delegation-algorithm/src/index.ts#L3
Replace `'../../models/application.model'` with `"../../models/application.model"`
run-lint: backend/typescript/delegation-algorithm/src/index.ts#L4
Replace `'../../models/applicationDashboard.model'` with `"../../models/applicationDashboard.model"`
run-lint: backend/typescript/delegation-algorithm/src/index.ts#L5
Replace `'../../models/user.model'` with `"../../models/user.model"`
run-lint: backend/typescript/delegation-algorithm/src/index.ts#L7
Replace `'./roundRobinPairs';⏎` with `"./roundRobinPairs";`
run-lint: backend/typescript/delegation-algorithm/src/index.ts#L13
'loadApplications' was used before it was defined
run-lint: backend/typescript/delegation-algorithm/src/index.ts#L14
'loadReviewers' was used before it was defined
run-lint: backend/typescript/delegation-algorithm/src/index.ts#L31
Replace `'junior'` with `"junior"`
run-lint: backend/typescript/delegation-algorithm/src/index.ts#L33
Replace `'N/A'` with `"N/A",`
run-lint
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, dorny/paths-filter@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/.
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/delegation-algorithm/src/index.ts#L20
Unexpected unnamed async function
run-lint: backend/typescript/delegation-algorithm/src/index.ts#L22
Unexpected unnamed async function
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