Skip to content

feat: add publiccode.yml crawl status to software pages #655

feat: add publiccode.yml crawl status to software pages

feat: add publiccode.yml crawl status to software pages #655

Triggered via pull request July 29, 2024 18:21
Status Failure
Total duration 3m 17s
Artifacts

test.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors
test: assets/js/components/PubliccodeBadge.js#L8
Replace `'loading'` with `loading`
test: assets/js/components/PubliccodeBadge.js#L9
Replace `'good'` with `good`
test: assets/js/components/PubliccodeBadge.js#L10
Replace `'error'` with `error`
test: assets/js/components/PubliccodeBadge.js#L13
'useStyle' is assigned a value but never used
test: assets/js/components/PubliccodeBadge.js#L29
React Hook useEffect contains a call to 'setPubliccodeState'. Without a list of dependencies, this can lead to an infinite chain of updates. To fix this, pass [logUrl] as a second argument to the useEffect Hook
test
Insert `;`
test
Using target="_blank" without rel="noreferrer" (which implies rel="noopener") is a security risk in older browsers: see https://mathiasbynens.github.io/rel-noopener/#recommendations
test
Replace `⏎········className="x-small"⏎········href={logUrl}⏎········target="_blank"⏎········aria-label="Log·file·of·the·latest·publiccode.yml·crawling"⏎······` with `·className="x-small"·href={logUrl}·target="_blank"·aria-label="Log·file·of·the·latest·publiccode.yml·crawling"`
test: assets/js/components/Spinner.js#L5
Unexpected block statement surrounding arrow body; move the returned value immediately after the `=>`
test: assets/js/components/Spinner.js#L8
Replace `<div></div><div></div><div></div><div></div>` with `⏎········<div></div>⏎········<div></div>⏎········<div></div>⏎········<div></div>⏎······`