Add no deploy label + misc actions stuff #63
lint.yml
on: pull_request
Lint and check formatting
37s
Annotations
10 warnings
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#L21
Unexpected console statement
|
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/SideBar/SideBar.tsx#L38
React Hook useEffect contains a call to 'setName'. Without a list of dependencies, this can lead to an infinite chain of updates. To fix this, pass [isLoggedIn, checkAdmin, cookies.user.name, cookies.user.picture] as a second argument to the useEffect Hook
|
Lint and check formatting:
site/src/component/SideInfo/SideInfo.tsx#L136
React Hook useEffect has missing dependencies: 'allToken' and 'props.searchType'. Either include them or remove the dependency array
|