Skip to content

fix: 移除 defaultProps (#2230) #2704

fix: 移除 defaultProps (#2230)

fix: 移除 defaultProps (#2230) #2704

Triggered via push May 9, 2024 08:30
Status Success
Total duration 5m 3s
Artifacts

ci.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 warnings
lint: src/packages/animatingnumbers/countup.taro.tsx#L95
React Hook useEffect has a missing dependency: 'setNumberTransform'. Either include it or remove the dependency array
lint: src/packages/animatingnumbers/countup.taro.tsx#L109
React Hook useEffect has missing dependencies: 'delay' and 'getShowNumber'. Either include them or remove the dependency array
lint: src/packages/animatingnumbers/countup.tsx#L90
React Hook useEffect has missing dependencies: 'delay' and 'setNumberTransform'. Either include them or remove the dependency array
lint: src/packages/audio/audio.taro.tsx#L107
Unexpected unnamed function
lint: src/packages/avatar/avatar.taro.tsx#L107
React Hook useEffect has missing dependencies: 'avatarLength' and 'parent?.avatarGroupRef'. Either include them or remove the dependency array
lint: src/packages/avatar/avatar.tsx#L106
React Hook useEffect has missing dependencies: 'avatarLength' and 'parent?.avatarGroupRef'. Either include them or remove the dependency array
lint: src/packages/avatarcropper/avatarcropper.taro.tsx#L163
React Hook useEffect has a missing dependency: 'canvasAll'. Either include it or remove the dependency array. You can also do a functional update 'setCanvasAll(c => ...)' if you only need 'canvasAll' in the 'setCanvasAll' call
lint: src/packages/avatarcropper/avatarcropper.taro.tsx#L177
React Hook useMemo has a missing dependency: 'shape'. Either include it or remove the dependency array
lint: src/packages/avatarcropper/avatarcropper.taro.tsx#L263
React Hook useCallback has missing dependencies: 'pixelRatio' and 'space'. Either include them or remove the dependency array
lint: src/packages/avatarcropper/avatarcropper.taro.tsx#L279
React Hook useCallback has missing dependencies: 'canvasAll.canvasId', 'state.displayHeight', and 'state.displayWidth'. Either include them or remove the dependency array