Skip to content

chore: 支持 tree shaking (#236) #1518

chore: 支持 tree shaking (#236)

chore: 支持 tree shaking (#236) #1518

Triggered via push July 25, 2024 09:40
Status Success
Total duration 2m 10s
Artifacts

lint.yml

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

Annotations

6 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)
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v2, actions/setup-node@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-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/LegendCategories/index.tsx#L20
Do not use Array index in keys
lint (16.x): src/components/Legend/LegendRamp/index.tsx#L9
'getMinMax' is assigned a value but never used