Skip to content

Fix lint errors

Fix lint errors #373

Triggered via push February 21, 2024 18:46
Status Success
Total duration 5m 49s
Artifacts 1

build-npm.yml

on: push
github-actions-ci
5m 41s
github-actions-ci
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 13 warnings
github-actions-ci: src/api/dto/from/dtoToCriteria.ts#L45
'getFeeFineOwnerId' was used before it was defined
github-actions-ci: src/api/dto/from/dtoToCriteria.ts#L51
'getLocationProperties' was used before it was defined
github-actions-ci: src/api/dto/from/dtoToCriteria.ts#L65
'dtoToConditionCriteria' was used before it was defined
github-actions-ci: src/api/dto/from/dtoToCriteria.ts#L68
'dtoToNegationCriteria' was used before it was defined
github-actions-ci: src/api/dto/from/dtoToData.ts#L24
'dtoToDataToken' was used before it was defined
github-actions-ci: src/api/dto/from/dtoToData.ts#L36
'constantToToken' was used before it was defined
github-actions-ci: src/api/dto/from/dtoToData.ts#L39
'aggregateToToken' was used before it was defined
github-actions-ci: src/api/dto/from/dtoToHeaderFooter.ts#L12
'dtoToHeaderFooterToken' was used before it was defined
github-actions-ci: src/api/dto/from/dtoToHeaderFooter.ts#L18
'constantToToken' was used before it was defined
github-actions-ci: src/api/dto/from/dtoToHeaderFooter.ts#L21
'aggregateToToken' was used before it was defined
github-actions-ci
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: ***-org/checkout@v2, actions/setup-node@v3, actions/upload-artifact@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
github-actions-ci
The following actions uses node12 which is deprecated and will be forced to run on node16: ***-org/checkout@v2, actions/upload-artifact@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
github-actions-ci
Value "update last" for option comment_mode is deprecated! Instead, use value "always".
github-actions-ci
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
github-actions-ci
Value "update last" for option comment_mode is deprecated! Instead, use value "always".
github-actions-ci
Could not find any files for artifacts/runTest/*.xml
github-actions-ci
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
github-actions-ci
No files were found with the provided path: artifacts/coverage/lcov-report/. No artifacts will be uploaded.
github-actions-ci: src/components/Criteria/CriteriaCard.tsx#L36
The 'noneOfReturnType' JSX element makes the dependencies of useMemo Hook (at line 106) change on every render. Move it inside the useMemo callback. Alternatively, wrap the initialization of 'noneOfReturnType' in its own useMemo() Hook
github-actions-ci: src/components/ExportPreview/ExportPreviewData.tsx#L15
The 'header' logical expression could make the dependencies of useEffect Hook (at line 51) change on every render. Move it inside the useEffect callback. Alternatively, wrap the initialization of 'header' in its own useMemo() Hook
github-actions-ci: src/components/ExportPreview/ExportPreviewData.tsx#L19
The 'data' logical expression could make the dependencies of useEffect Hook (at line 51) change on every render. Move it inside the useEffect callback. Alternatively, wrap the initialization of 'data' in its own useMemo() Hook
github-actions-ci: src/components/ExportPreview/ExportPreviewData.tsx#L23
The 'dataAggregate' logical expression could make the dependencies of useEffect Hook (at line 51) change on every render. Move it inside the useEffect callback. Alternatively, wrap the initialization of 'dataAggregate' in its own useMemo() Hook
github-actions-ci: src/components/ExportPreview/ExportPreviewData.tsx#L27
The 'footer' logical expression could make the dependencies of useEffect Hook (at line 51) change on every render. Move it inside the useEffect callback. Alternatively, wrap the initialization of 'footer' in its own useMemo() Hook

Artifacts

Produced during runtime
Name Size
jest-coverage-report Expired
1.08 MB