Skip to content

basic setup for project merge text translation #968

basic setup for project merge text translation

basic setup for project merge text translation #968

Triggered via push January 16, 2024 04:57
Status Failure
Total duration 2m 22s
Artifacts

lint.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 5 warnings
Lint Run: renderer/src/layouts/projects/Import/mergeObsUtils.js#L246
'fs' is assigned a value but never used
Lint Run: renderer/src/layouts/projects/Import/mergeObsUtils.js#L248
'generateBaseUsfms' is assigned a value but never used
Lint Run: renderer/src/util/createBaseUSFM.js#L2
'moment' is defined but never used
Lint Run: renderer/src/util/createBaseUSFM.js#L3
'environment' is defined but never used
Lint Run: renderer/src/util/createBaseUSFM.js#L5
'packageInfo' is defined but never used
Lint Run: renderer/src/util/createBaseUSFM.js#L7
'grammar' is assigned a value but never used
Lint Run: renderer/src/util/createBaseUSFM.js#L8
'path' is assigned a value but never used
Lint Run: renderer/src/util/createBaseUSFM.js#L9
'md5' is assigned a value but never used
Lint Run: renderer/src/util/createBaseUSFM.js#L25
'ingredients' is assigned a value but never used
Lint Run: renderer/src/util/createBaseUSFM.js#L27
'resolve' is defined but never used
Lint Run
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-node@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Lint Run: renderer/src/components/EditorPage/Reference/TW/TwNavigation.js#L93
React Hook useEffect has a missing dependency: 'referenceResources'. Either include it or remove the dependency array
Lint Run: renderer/src/components/EditorPage/Reference/TW/TwNavigation.js#L157
React Hook useEffect has missing dependencies: 'languageId', 'onlineMeta?.data', 'owner', and 'referenceResources'. Either include them or remove the dependency array
Lint Run: renderer/src/components/EditorPage/Reference/TW/TwNavigation.js#L164
React Hook useEffect has a missing dependency: 'setReferenceResources'. Either include it or remove the dependency array. If 'setReferenceResources' changes too often, find the parent component that defines it and wrap that definition in useCallback
Lint Run: renderer/src/layouts/projects/Import/mergeProject.js#L59
Unexpected console statement