Skip to content

Refactor LineLayer, MapboxLayer and TileLayer #65

Refactor LineLayer, MapboxLayer and TileLayer

Refactor LineLayer, MapboxLayer and TileLayer #65

Triggered via push March 11, 2024 05:27
Status Failure
Total duration 1m 22s
Artifacts

ci.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 11 warnings
build: lib/src/components/Map/Layers/_MaskLayer/index.tsx#L13
'map' is missing in props validation
build: lib/src/components/Map/Layers/_MaskLayer/index.tsx#L13
'id' is missing in props validation
build: lib/src/components/Map/Layers/_MaskLayer/index.tsx#L13
'polygon' is missing in props validation
build: lib/src/components/Map/Layers/_MaskLayer/index.tsx#L13
'source' is missing in props validation
build: lib/src/components/Map/Layers/_MaskLayer/index.tsx#L13
'blur' is missing in props validation
build: lib/src/components/Map/Layers/_MaskLayer/index.tsx#L13
'zIndex' is missing in props validation
build: lib/src/components/Map/Layers/_MaskLayer/index.tsx#L13
'opacity' is missing in props validation
build: lib/src/components/Map/Layers/_MaskLayer/index.tsx#L13
'smoothing' is missing in props validation
build: lib/src/components/Map/Layers/_MaskLayer/index.tsx#L38
'source.addFeature' is missing in props validation
build: lib/src/components/Map/Layers/_MaskLayer/index.tsx#L39
'map.addLayer' is missing in props validation
build
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
build: lib/src/components/Map/Layers/_MaskLayer/index.tsx#L8
'Cspline' is defined but never used
build: lib/src/components/Map/Layers/_MaskLayer/index.tsx#L50
React Hook useEffect has a missing dependency: 'source'. Either include it or remove the dependency array
build: lib/src/components/Map/Layers/_SymbolLayer.tsx#L324
React Hook useEffect has missing dependencies: 'data', 'labelStyle', 'opacity', 'style', 'symbolIcons', 'tooltipListener', and 'zIndex'. Either include them or remove the dependency array
build: lib/src/components/Map/Layers/_SymbolLayer.tsx#L329
React Hook useEffect has a complex expression in the dependency array. Extract it to a separate variable so it can be statically checked
build: lib/src/components/Map/Layers/_SymbolLayer.tsx#L334
React Hook useEffect has a complex expression in the dependency array. Extract it to a separate variable so it can be statically checked
build: lib/src/components/Map/Layers/_VectorLayer.tsx#L160
React Hook useEffect has missing dependencies: 'colorsArray', 'opacity', 'source', 'style', and 'zIndex'. Either include them or remove the dependency array
build: lib/src/components/Map/Layers/_VectorLayer.tsx#L160
React Hook useEffect has a complex expression in the dependency array. Extract it to a separate variable so it can be statically checked
build: lib/src/components/Map/Layers/_VectorLayer.tsx#L213
React Hook useEffect has missing dependencies: 'opacity', 'source', 'style.labelStyle.color', 'style.labelStyle.fontFamily', 'style.labelStyle.fontSize', 'style.labelStyle.fontWeight', 'style.labelStyle.showHalo', 'style.labelStyle.transform', and 'zIndex'. Either include them or remove the dependency array
build: lib/src/components/Map/Layers/_VectorLayer.tsx#L213
React Hook useEffect has a complex expression in the dependency array. Extract it to a separate variable so it can be statically checked
build: lib/src/components/Map/OlMap/index.tsx#L237
React Hook useEffect has missing dependencies: 'center', 'controls', 'enableDoubleClickZoom', 'enableDragPan', 'enableMouseWheelZoom', 'enableZoomControls', 'maxZoom', 'minZoom', 'overview', 'overviewMap', 'overviewMapPosition', 'scaleBar', 'scaleBarPosition', 'scaleUnits', 'setMap', 'setMapObj', 'showOverview', 'showScale', 'zoom', and 'zoomControlsPosition'. Either include them or remove the dependency array