Skip to content

Fix: Fixing formating and linting across the website code #9

Fix: Fixing formating and linting across the website code

Fix: Fixing formating and linting across the website code #9

Triggered via pull request May 9, 2024 18:26
Status Failure
Total duration 24s
Artifacts

typescript_lint.yaml

on: pull_request
Typescript Linting, Formatting and Type checking
15s
Typescript Linting, Formatting and Type checking
Build check
0s
Build check
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 10 warnings
Typescript Linting, Formatting and Type checking: website/src/App.tsx#L16
'React' is defined but never used
Typescript Linting, Formatting and Type checking: website/src/common/DisplayList.tsx#L24
'data.map' is missing in props validation
Typescript Linting, Formatting and Type checking: website/src/common/DisplayList.tsx#L56
'data.map' is missing in props validation
Typescript Linting, Formatting and Type checking: website/src/common/Dropdown.tsx#L24
'defaultIndex' is missing in props validation
Typescript Linting, Formatting and Type checking: website/src/common/Dropdown.tsx#L29
'children' is missing in props validation
Typescript Linting, Formatting and Type checking: website/src/common/Dropdown.tsx#L45
'onChange' is missing in props validation
Typescript Linting, Formatting and Type checking: website/src/common/Dropdown.tsx#L55
'className' is missing in props validation
Typescript Linting, Formatting and Type checking: website/src/common/Dropdown.tsx#L58
'placeholder' is missing in props validation
Typescript Linting, Formatting and Type checking: website/src/common/Dropdown.tsx#L46
React Hook useEffect has missing dependencies: 'items' and 'props'. Either include them or remove the dependency array. However, 'props' will change when *any* prop changes, so the preferred fix is to destructure the 'props' object outside of the useEffect call and refer to those specific props inside useEffect
Typescript Linting, Formatting and Type checking: website/src/common/Macrobench.tsx#L221
Fast refresh only works when a file only export components. Use a new file to share constant or functions between components
Typescript Linting, Formatting and Type checking: website/src/pages/ComparePage/ComparePage.tsx#L46
React Hook useEffect has a missing dependency: 'navigate'. Either include it or remove the dependency array
Typescript Linting, Formatting and Type checking: website/src/pages/DailyPage/DailyPage.tsx#L50
React Hook useEffect has a missing dependency: 'navigate'. Either include it or remove the dependency array
Typescript Linting, Formatting and Type checking: website/src/pages/ForeignKeysPage/ForeignKeysPage.tsx#L78
React Hook useEffect has missing dependencies: 'loadData' and 'navigate'. Either include them or remove the dependency array
Typescript Linting, Formatting and Type checking: website/src/pages/ForeignKeysPage/components/FK.tsx#L22
Fast refresh only works when a file only export components. Use a new file to share constant or functions between components
Typescript Linting, Formatting and Type checking: website/src/pages/MacroPage/MacroPage.tsx#L85
React Hook useEffect has missing dependencies: 'loadData' and 'navigate'. Either include them or remove the dependency array
Typescript Linting, Formatting and Type checking: website/src/pages/MacroQueriesComparePage/MacroQueriesComparePage.tsx#L39
React Hook useEffect has missing dependencies: 'commits.left', 'commits.right', 'navigate', and 'type'. Either include them or remove the dependency array
Typescript Linting, Formatting and Type checking: website/src/pages/MacroQueriesComparePage/MacroQueriesComparePage.tsx#L79
React Hook useEffect has missing dependencies: 'commits.left', 'commits.right', 'loadData', and 'type'. Either include them or remove the dependency array
Typescript Linting, Formatting and Type checking: website/src/pages/MicroPage/MicroPage.tsx#L75
React Hook useEffect has missing dependencies: 'gitRefLeft', 'gitRefRight', and 'setError'. Either include them or remove the dependency array