356 publish dataset #1624
Annotations
1 error and 11 warnings
lint
Process completed with exit code 1.
|
lint
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/.
|
lint:
packages/design-system/src/lib/components/select-multiple/SelectMultiple.tsx#L57
React Hook useEffect has missing dependencies: 'isFirstRender' and 'onChange'. Either include them or remove the dependency array. If 'onChange' changes too often, find the parent component that defines it and wrap that definition in useCallback
|
lint:
src/dataset/infrastructure/mappers/JSDatasetVersionMapper.ts#L16
'jsDatasetPublicationDate' is defined but never used. Allowed unused args must match /^_/u
|
lint:
src/sections/collection/datasets-list/useDatasets.tsx#L50
React Hook useEffect has a missing dependency: 'fetchDatasetsWithCount'. Either include it or remove the dependency array
|
lint:
src/sections/dataset/Dataset.tsx#L48
'removeDatasetAlert' is assigned a value but never used. Allowed unused vars must match /^_/u
|
lint:
src/sections/dataset/Dataset.tsx#L73
React Hook useEffect has missing dependencies: 'addDatasetAlert', 'created', 'dataset', 'datasetAlerts', 'navigate', 'publishInProgress', and 'setDatasetAlerts'. Either include them or remove the dependency array
|
lint:
src/sections/dataset/dataset-alerts/DatasetAlerts.tsx#L14
React Hook useEffect has a missing dependency: 'addDatasetAlert'. Either include it or remove the dependency array
|
lint:
src/sections/dataset/dataset-files/files-table/row-selection/useFileSelection.ts#L75
React Hook useEffect has a missing dependency: 'updateFileSelection'. Either include it or remove the dependency array
|
lint:
src/sections/dataset/dataset-files/files-table/row-selection/useFileSelection.ts#L79
React Hook useEffect has missing dependencies: 'computeCurrentPageRowSelection' and 'setCurrentPageRowSelection'. Either include them or remove the dependency array. If 'setCurrentPageRowSelection' changes too often, find the parent component that defines it and wrap that definition in useCallback
|
lint:
src/sections/dataset/dataset-files/useFiles.tsx#L75
React Hook useEffect has missing dependencies: 'getFiles' and 'getFilesCountInfo'. Either include them or remove the dependency array
|
lint:
src/sections/shared/pagination/PaginationControls.tsx#L45
React Hook useEffect has missing dependencies: 'onPaginationInfoChange' and 'paginationInfo'. Either include them or remove the dependency array. If 'onPaginationInfoChange' changes too often, find the parent component that defines it and wrap that definition in useCallback
|