Skip to content

Fix exploration types file name and imports #2122

Fix exploration types file name and imports

Fix exploration types file name and imports #2122

Triggered via pull request November 22, 2024 21:30
Status Failure
Total duration 5m 9s
Artifacts

checks.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 18 warnings
ts-check: app/scripts/components/exploration/analysis-data.ts#L9
An import path cannot end with a '.d.ts' extension. Consider importing './types.js' instead.
ts-check: app/scripts/components/exploration/atoms/datasets.ts#L3
An import path cannot end with a '.d.ts' extension. Consider importing '../types.js' instead.
ts-check: app/scripts/components/exploration/atoms/dates.ts#L1
An import path cannot end with a '.d.ts' extension. Consider importing '../types.js' instead.
ts-check: app/scripts/components/exploration/atoms/hooks.ts#L15
An import path cannot end with a '.d.ts' extension. Consider importing '../types.js' instead.
ts-check: app/scripts/components/exploration/atoms/timeline.ts#L6
An import path cannot end with a '.d.ts' extension. Consider importing '../types.js' instead.
ts-check: app/scripts/components/exploration/components/chart-popover.tsx#L21
An import path cannot end with a '.d.ts' extension. Consider importing '../types.js' instead.
ts-check: app/scripts/components/exploration/components/dataset-selector-modal/index.tsx#L14
An import path cannot end with a '.d.ts' extension. Consider importing '../../types.js' instead.
ts-check: app/scripts/components/exploration/components/map/index.tsx#L9
An import path cannot end with a '.d.ts' extension. Consider importing '../../types.js' instead.
ts-check: app/scripts/components/exploration/components/map/layer.tsx#L5
An import path cannot end with a '.d.ts' extension. Consider importing '../../types.js' instead.
ts-check: app/scripts/components/exploration/components/timeline/timeline-controls.tsx#L14
An import path cannot end with a '.d.ts' extension. Consider importing './../../types.js' instead.
prep
The following actions uses node12 which is deprecated and will be forced to run on node16: styfle/[email protected]. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
prep
The following actions use a deprecated Node.js version and will be forced to run on node20: styfle/[email protected], actions/checkout@v3, actions/setup-node@v3, actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
ts-check
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
ts-check
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, actions/setup-node@v3, actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
lint
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
lint
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, actions/setup-node@v3, actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
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
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
test
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, actions/setup-node@v3, actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/