feat: add publiccode.yml crawl status to software pages #654
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#L26
'softwareId' is missing in props validation
|
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 `=>`
|