Use a wrapper for map controls #946
Annotations
3 errors and 18 warnings
ts-check:
app/scripts/components/common/map/maps.tsx#L25
Module '"./"' has no exported member 'CONTROLS_CONTAINER_NAME'. Did you mean to use 'import CONTROLS_CONTAINER_NAME from "./"' instead?
|
ts-check:
app/scripts/components/exploration/components/map/index.tsx#L93
Type '{ children: Element[]; }' has no properties in common with type 'IntrinsicAttributes'.
|
ts-check
Process completed with exit code 2.
|
prep
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: styfle/[email protected], actions/checkout@v3, actions/setup-node@v3, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
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/
|
test
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions/setup-node@v3, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
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/
|
ts-check
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions/setup-node@v3, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
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/
|
lint
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions/setup-node@v3, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
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:
app/scripts/components/analysis/define/aoi-selector.tsx#L99
React Hook useCallback has a missing dependency: 'mapRef'. Either include it or remove the dependency array
|
lint:
app/scripts/components/analysis/define/aoi-selector.tsx#L118
React Hook useEffect has a missing dependency: 'mapRef'. Either include it or remove the dependency array
|
lint:
app/scripts/components/analysis/define/index.tsx#L105
Use a ! assertion to more succinctly remove null and undefined from the type
|
lint:
app/scripts/components/analysis/define/index.tsx#L115
Use a ! assertion to more succinctly remove null and undefined from the type
|
lint:
app/scripts/components/analysis/define/index.tsx#L170
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator
|
lint:
app/scripts/components/analysis/define/index.tsx#L200
Unnecessary optional chain on a non-nullish value
|
lint:
app/scripts/components/analysis/define/index.tsx#L207
React Hook useEffect has a missing dependency: 'datasetsLayers'. Either include it or remove the dependency array
|
lint:
app/scripts/components/analysis/define/use-custom-aoi.ts#L129
Unnecessary conditional, value is always falsy
|
lint:
app/scripts/components/analysis/page-hero-media.tsx#L143
React Hook useEffect has a missing dependency: 'theme.color'. Either include it or remove the dependency array
|
lint:
app/scripts/components/analysis/page-hero-media.tsx#L159
Unexpected any. Specify a different type
|