Skip to content

adds uid to member objects for applicant review purposes #124

adds uid to member objects for applicant review purposes

adds uid to member objects for applicant review purposes #124

Triggered via pull request November 24, 2023 02:59
Status Failure
Total duration 45s
Artifacts

lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 5 warnings
run-lint: backend/typescript/server.ts#L12
`fs` import should occur before import of `./models`
run-lint: backend/typescript/server.ts#L12
Replace `'fs'` with `"fs"`
run-lint: backend/typescript/server.ts#L117
Delete `⏎`
run-lint: backend/typescript/server.ts#L119
Use object destructuring
run-lint: backend/typescript/server.ts#L121
Use object destructuring
run-lint: backend/typescript/server.ts#L122
Use object destructuring
run-lint: backend/typescript/server.ts#L126
Replace `(user)·=>·user.displayName·===·member.name·&&·member.term·===·term` with `⏎······(user)·=>·user.displayName·===·member.name·&&·member.term·===·term,⏎····`
run-lint: backend/typescript/server.ts#L130
iterators/generators require regenerator-runtime, which is too heavyweight for this guide to allow them. Separately, loops should be avoided in favor of array iterations
run-lint: backend/typescript/server.ts#L148
Expected property shorthand
run-lint: backend/typescript/server.ts#L153
Replace `'./graphql/sampleData/members.json',·JSON.stringify(updatedData)` with `⏎····"./graphql/sampleData/members.json",⏎····JSON.stringify(updatedData),⏎··`
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/server.ts#L123
Unexpected any. Specify a different type