Skip to content

refactor: Refactor page header to use USWDS components #2179

refactor: Refactor page header to use USWDS components

refactor: Refactor page header to use USWDS components #2179

Triggered via pull request December 3, 2024 04:52
Status Failure
Total duration 1m 18s
Artifacts

checks.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

2 errors and 14 warnings
lint: app/scripts/components/common/page-header/index.tsx#L61
Unexpected usage of doublequote
lint
Process completed with exit code 1.
prep
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
lint
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
lint: app/scripts/components/common/aoi/types.d.ts#L38
Unexpected any. Specify a different type
lint: app/scripts/components/common/aoi/use-aoi-controls.ts#L131
React Hook useCallback has a missing dependency: 'mapRef'. Either include it or remove the dependency array. If 'setAoi' needs the current value of 'mapRef', you can also switch to useReducer instead of useState and read 'mapRef' in the reducer
lint: app/scripts/components/common/blocks/block-map.tsx#L184
React Hook useMemo has a missing dependency: 'datasetLayers'. Either include it or remove the dependency array
lint: app/scripts/components/common/blocks/index.tsx#L251
Delete `⏎····`
lint: app/scripts/components/common/blocks/index.tsx#L257
Replace `······` with `····`
lint: app/scripts/components/common/blocks/index.tsx#L258
Replace `··return·typeVal._payload.value[typeVal._payload.value.length-` with `return·typeVal._payload.value[typeVal._payload.value.length·-·`
test
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
ts-check
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636