feat: refactor non instruction components #954
Annotations
8 errors and 2 warnings
tests:
src/core/OuterExamTimer.jsx#L29
React Hook useEffect has a missing dependency: 'dispatch'. Either include it or remove the dependency array
|
tests:
src/data/store.js#L1
Too many blank lines at the beginning of file. Max of 0 allowed
|
tests:
src/data/thunks.js#L476
Missing trailing comma
|
tests:
src/data/thunks.js#L477
Unexpected newline before ')'
|
tests:
src/exam/Exam.jsx#L80
React Hook useEffect has missing dependencies: 'canAccessProctoredExams', 'dispatch', 'examType', and 'proctoredExamTypes'. Either include them or remove the dependency array. If 'setHasProctoredExamAccess' needs the current value of 'canAccessProctoredExams', you can also switch to useReducer instead of useState and read 'canAccessProctoredExams' in the reducer
|
tests:
src/exam/ExamWrapper.jsx#L42
React Hook useEffect has missing dependencies: 'isLoading', 'loadInitialData', and 'sequence.isTimeLimited'. Either include them or remove the dependency array
|
tests:
src/timer/ExamTimerBlock.jsx#L57
React Hook useEffect has a missing dependency: 'expireExamAttempt'. Either include it or remove the dependency array
|
tests
Process completed with exit code 1.
|
tests
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
tests
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|