Skip to content

refactor: 优化 useLayerEvent 代码及注释 #1397

refactor: 优化 useLayerEvent 代码及注释

refactor: 优化 useLayerEvent 代码及注释 #1397

Triggered via push September 27, 2023 01:48
Status Success
Total duration 2m 47s
Artifacts
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

lint.yml

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

Annotations

4 warnings
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