Skip to content

๐ŸŽจ Lint checking on 1083 #339

๐ŸŽจ Lint checking on 1083

๐ŸŽจ Lint checking on 1083 #339

Triggered via pull request December 6, 2024 13:34
Status Failure
Total duration 49s
Artifacts

lint.yml

on: pull_request
Infrastructure setup ๐Ÿ”ง
0s
Infrastructure setup ๐Ÿ”ง
Scanning ๐ŸŽจ
39s
Scanning ๐ŸŽจ
Prettier ๐ŸŽจ
28s
Prettier ๐ŸŽจ
Fit to window
Zoom out
Zoom in

Annotations

7 errors and 13 warnings
Prettier ๐ŸŽจ
Process completed with exit code 1.
Scanning ๐ŸŽจ: src/helper-modules/govuk-notify/govuk-notify.service.test.ts#L32
Replace `โŽยทยทยทยท.spyOn(NotifyClient.prototype,ยท'sendEmail')โŽยทยทยทยท` with `.spyOn(NotifyClient.prototype,ยท'sendEmail')`
Scanning ๐ŸŽจ: src/helper-modules/govuk-notify/govuk-notify.service.test.ts#L36
Replace `โŽยทยทยทยท.spyOn(NotifyClient.prototype,ยท'prepareUpload')โŽยทยทยทยท` with `.spyOn(NotifyClient.prototype,ยท'prepareUpload')`
Scanning ๐ŸŽจ: src/helper-modules/govuk-notify/govuk-notify.service.test.ts#L93
Delete `ยทยทยทยทยทยท`
Scanning ๐ŸŽจ: src/helper-modules/govuk-notify/govuk-notify.service.test.ts#L103
Delete `ยทยทยทยทยทยทยทยท`
Scanning ๐ŸŽจ
Process completed with exit code 1.
Infrastructure setup ๐Ÿ”ง
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Prettier ๐ŸŽจ
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Scanning ๐ŸŽจ
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Scanning ๐ŸŽจ: src/helpers/redact-strings-in-log-args.helper.ts#L18
Function Call Object Injection Sink
Scanning ๐ŸŽจ: src/helpers/regex.helper.test.ts#L10
Found non-literal argument to RegExp Constructor
Scanning ๐ŸŽจ: src/helpers/regex.helper.test.ts#L18
Found non-literal argument to RegExp Constructor
Scanning ๐ŸŽจ: src/helpers/regex.helper.test.ts#L26
Found non-literal argument to RegExp Constructor
Scanning ๐ŸŽจ: src/helpers/regex.helper.test.ts#L34
Found non-literal argument to RegExp Constructor
Scanning ๐ŸŽจ: test/support/generator/get-company-generator.ts#L57
Generic Object Injection Sink
Scanning ๐ŸŽจ: test/support/generator/get-company-generator.ts#L57
Generic Object Injection Sink
Scanning ๐ŸŽจ: test/support/generator/get-company-generator.ts#L57
Generic Object Injection Sink
Scanning ๐ŸŽจ: test/support/generator/get-company-generator.ts#L57
Generic Object Injection Sink
Scanning ๐ŸŽจ: test/support/generator/get-company-generator.ts#L123
Generic Object Injection Sink