Skip to content

refactor(@angular/build): Auto-CSP support as an index file transformation. #2254

refactor(@angular/build): Auto-CSP support as an index file transformation.

refactor(@angular/build): Auto-CSP support as an index file transformation. #2254

Re-run triggered October 21, 2024 16:15
Status Failure
Total duration 14m 47s
Artifacts 1

pr.yml

on: pull_request
analyze
5s
analyze
Matrix: e2e-package-managers
Matrix: e2e
Matrix: e2e-snapshots
Fit to window
Zoom out
Zoom in

Annotations

10 errors
lint: packages/angular/build/src/utils/index-file/auto-csp.ts#L12
`node:crypto` import should occur before import of `parse5-html-rewriting-stream`
lint: packages/angular/build/src/utils/index-file/auto-csp.ts#L96
Expected blank line before this statement
lint: packages/angular/build/src/utils/index-file/auto-csp.ts#L112
'hashes' is never reassigned. Use 'const' instead
lint: packages/angular/build/src/utils/index-file/auto-csp.ts#L140
Expected blank line before this statement
lint: packages/angular/build/src/utils/index-file/auto-csp.ts#L168
Forbidden non-null assertion
lint: packages/angular/build/src/utils/index-file/auto-csp.ts#L169
Forbidden non-null assertion
lint: packages/angular/build/src/utils/index-file/auto-csp.ts#L200
Expected blank line before this statement
lint: packages/angular/build/src/utils/index-file/auto-csp.ts#L232
'strictCspTemplate' is never reassigned. Use 'const' instead
lint: packages/angular/build/src/utils/index-file/auto-csp.ts#L286
This line has a length of 163. Maximum allowed is 140
lint: packages/angular/build/src/utils/index-file/auto-csp.ts#L289
Expected blank line before this statement

Artifacts

Produced during runtime
Name Size Digest
packages Expired
2.71 MB
sha256:dfa998fe35ab656934a576032689c8d2c4400d9594d3af070658ab6007cac471