Skip to content

Added authorization requirements for posting and deleting reports #18

Added authorization requirements for posting and deleting reports

Added authorization requirements for posting and deleting reports #18

Triggered via pull request February 1, 2024 02:04
Status Failure
Total duration 44s
Artifacts

lint.yml

on: pull_request
Lint and check formatting
33s
Lint and check formatting
Fit to window
Zoom out
Zoom in

Annotations

2 errors and 11 warnings
Lint and check formatting: api/src/controllers/reports.ts#L1
'use' is defined but never used
Lint and check formatting
Process completed with exit code 1.
Lint and check formatting
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 and check formatting: site/src/component/GradeDist/GradeDist.tsx#L70
React Hook useEffect has a missing dependency: 'fetchGradeDistData'. Either include it or remove the dependency array
Lint and check formatting: site/src/component/GradeDist/GradeDist.tsx#L81
React Hook useEffect has missing dependencies: 'createCourseEntries', 'createProfEntries', 'props.course', and 'props.professor'. Either include them or remove the dependency array
Lint and check formatting: site/src/component/GradeDist/GradeDist.tsx#L88
React Hook useEffect has missing dependencies: 'createQuarterEntries' and 'gradeDistData.length'. Either include them or remove the dependency array
Lint and check formatting: site/src/component/Report/ReportGroup.tsx#L27
React Hook useEffect has a missing dependency: 'props.reviewID'. Either include it or remove the dependency array
Lint and check formatting: site/src/component/Report/Reports.tsx#L46
React Hook useEffect has a missing dependency: 'getData'. Either include it or remove the dependency array
Lint and check formatting: site/src/component/Review/Review.tsx#L94
React Hook useEffect has missing dependencies: 'dispatch' and 'getReviews'. Either include them or remove the dependency array
Lint and check formatting: site/src/component/Schedule/Schedule.tsx#L31
React Hook useEffect has a missing dependency: 'fetchScheduleDataFromAPI'. Either include it or remove the dependency array
Lint and check formatting: site/src/component/SearchModule/SearchModule.tsx#L29
React Hook useEffect has a missing dependency: 'searchNames'. Either include it or remove the dependency array