Skip to content

fix: Polygon simplification on E&A page #2161

fix: Polygon simplification on E&A page

fix: Polygon simplification on E&A page #2161

Triggered via pull request November 28, 2024 00:00
Status Failure
Total duration 4m 14s
Artifacts

checks.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 10 warnings
lint: app/scripts/components/common/map/controls/hooks/use-custom-aoi.test.ts#L13
`@turf/helpers` import should occur before import of `./use-custom-aoi`
lint: app/scripts/components/common/map/controls/hooks/use-custom-aoi.test.ts#L57
Include a description after the "@ts-expect-error" directive to explain why the @ts-expect-error is necessary. The description must be 3 characters or longer
lint: app/scripts/components/common/map/controls/hooks/use-custom-aoi.test.ts#L129
Include a description after the "@ts-expect-error" directive to explain why the @ts-expect-error is necessary. The description must be 3 characters or longer
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·-·`