This repository has been archived by the owner on Aug 23, 2024. It is now read-only.
Fix lint warnings #1031
main.yml
on: push
node-tests-and-build
51s
docker-release
0s
Annotations
11 warnings
node-tests-and-build
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/.
|
node-tests-and-build:
components/blocks/question-results.tsx#L77
Unexpected any. Specify a different type
|
node-tests-and-build:
components/blocks/question-results.tsx#L155
Unexpected any. Specify a different type
|
node-tests-and-build:
components/pages/app/page-templates/list-page-jump-to.tsx#L17
Unexpected any. Specify a different type
|
node-tests-and-build:
hooks/use-pagination-router.tsx#L30
React Hook useEffect has missing dependencies: 'isFirstRender', 'router.pathname', and 'routerPage'. Either include them or remove the dependency array
|
node-tests-and-build:
hooks/use-pagination-router.tsx#L34
React Hook useEffect has missing dependencies: 'currentPage' and 'onPageChange'. Either include them or remove the dependency array. If 'onPageChange' changes too often, find the parent component that defines it and wrap that definition in useCallback
|
node-tests-and-build:
hooks/use-voconi-sdk.tsx#L20
Unexpected any. Specify a different type
|
node-tests-and-build:
hooks/use-voconi-sdk.tsx#L47
React Hook useCallback has a missing dependency: 'setAlertMessage'. Either include it or remove the dependency array
|
node-tests-and-build:
hooks/use-voconi-sdk.tsx#L73
React Hook useCallback has missing dependencies: 'property' and 'stats'. Either include them or remove the dependency array. If 'setPropertyState' needs the current value of 'property', you can also switch to useReducer instead of useState and read 'property' in the reducer
|
node-tests-and-build:
lib/client.ts#L31
Unexpected any. Specify a different type
|
node-tests-and-build:
lib/util.ts#L1
Unexpected any. Specify a different type
|