Skip to content

fix: 修复 useSceneEvent 类型错误问题 #1387

fix: 修复 useSceneEvent 类型错误问题

fix: 修复 useSceneEvent 类型错误问题 #1387

Triggered via push September 13, 2023 09:48
Status Failure
Total duration 2m 47s
Artifacts

lint.yml

on: push
Matrix: lint
Fit to window
Zoom out
Zoom in

Annotations

1 error and 4 warnings
lint (16.x)
Process completed with exit code 1.
lint (16.x)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-node@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 (16.x): src/components/LarkMap/hooks/use-scene-event/index.ts#L54
'a' is defined but never used
lint (16.x): src/components/LayerPopup/index.tsx#L120
React Hook useMemo has missing dependencies: 'closeButtonOffsets', 'lngLat', and 'offsets'. Either include them or remove the dependency array
lint (16.x): src/components/Legend/LegendRamp/index.tsx#L9
'getMinMax' is assigned a value but never used