Skip to content

chore: insert .. to fulfill lint wishes #41

chore: insert .. to fulfill lint wishes

chore: insert .. to fulfill lint wishes #41

Triggered via push April 9, 2024 15:06
Status Success
Total duration 1m 17s
Artifacts

publish.yml

on: push
Should Release
9s
Should Release
Fit to window
Zoom out
Zoom in

Annotations

6 warnings
Should Release
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Publish
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3, actions/cache@v3, actions/github-script@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Publish
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/github-script@v3. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Publish: hooks/useMode.tsx#L46
React Hook useCallback has a missing dependency: 'mode'. Either include it or remove the dependency array. If 'setCurrentMode' needs the current value of 'mode', you can also switch to useReducer instead of useState and read 'mode' in the reducer
Publish: hooks/useMode.tsx#L55
React Hook useCallback has a missing dependency: 'localStorageInstance'. Either include it or remove the dependency array
Publish: hooks/useMode.tsx#L63
React Hook useEffect has missing dependencies: 'applyModeChange' and 'onModeChange'. Either include them or remove the dependency array. If 'onModeChange' changes too often, find the parent component that defines it and wrap that definition in useCallback