Skip to content

added new hook for grammar to perf usfm conversion. logic added in si… #1060

added new hook for grammar to perf usfm conversion. logic added in si…

added new hook for grammar to perf usfm conversion. logic added in si… #1060

Triggered via push April 25, 2024 07:58
Status Failure
Total duration 2m 27s
Artifacts

lint.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 12 warnings
Lint Run: renderer/src/hooks/useGrammartoPerf.js#L1
'React' is defined but never used
Lint Run: renderer/src/hooks/useGrammartoPerf.js#L1
'useEffect' is defined but never used
Lint Run: renderer/src/hooks/useGrammartoPerf.js#L1
'useState' is defined but never used
Lint Run: renderer/src/hooks/useGrammartoPerf.js#L4
'useDeepCompareCallback' is defined but never used
Lint Run: renderer/src/hooks/useGrammartoPerf.js#L9
'usePerf' is defined but never used
Lint Run: renderer/src/hooks/useGrammartoPerf.js#L47
'bookName' is assigned a value but never used
Lint Run: renderer/src/layouts/projects/Layout.js#L16
Unable to resolve path to module '@/components/TextTranslationMerge/TranslationMergeUI'
Lint Run: renderer/src/layouts/projects/Layout.js#L16
Missing file extension for "@/components/TextTranslationMerge/TranslationMergeUI"
Lint Run: renderer/src/layouts/projects/SideBar.js#L11
Unable to resolve path to module '@/hooks2/useGrammartoPerf'
Lint Run: renderer/src/layouts/projects/SideBar.js#L11
Missing file extension for "@/hooks2/useGrammartoPerf"
Lint Run
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions/setup-node@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
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/hooks/useGrammartoPerf.js#L16
Unexpected console statement