Skip to content

Setup eslint

Setup eslint #8

Triggered via pull request September 16, 2024 12:40
Status Failure
Total duration 30s
Artifacts

codeanalysis.yaml

on: pull_request
Matrix: Lint
Fit to window
Zoom out
Zoom in

Annotations

4 errors and 1 warning
Lint (21.x): src/components/layout/DarkModeSwitch.tsx#L14
Expected 0 arguments, but got 1.
Lint (21.x): src/components/planner/sidebar/CoursesController/ClassSelectorDropdownController.tsx#L227
Type '{ key: string; course_id: number; classInfo: ClassInfo; displayed: boolean; checked: boolean; preview: number; conflict: boolean; onSelect: () => void; onMouseEnter: () => void; onMouseLeave: () => void; }' is not assignable to type 'IntrinsicAttributes & Props'.
Lint (21.x): src/components/planner/sidebar/CoursesController/ClassSelectorDropdownController.tsx#L264
Type '{ key: string; course_id: number; classInfo: ClassInfo; displayed: boolean; checked: boolean; preview: number; conflict: boolean; onSelect: () => void; onMouseEnter: () => void; onMouseLeave: () => void; }' is not assignable to type 'IntrinsicAttributes & Props'.
Lint (21.x)
Process completed with exit code 2.
Lint (21.x)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3, actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/