Chore: Adding lint workflow and fixing format issues #1
Annotations
10 errors and 10 warnings
Linting and Formatting checks:
website/src/App.tsx#L16
'React' is defined but never used
|
Linting and Formatting checks:
website/src/common/DisplayList.tsx#L16
'React' is defined but never used
|
Linting and Formatting checks:
website/src/common/DisplayList.tsx#L19
'data' is missing in props validation
|
Linting and Formatting checks:
website/src/common/DisplayList.tsx#L24
'data.map' is missing in props validation
|
Linting and Formatting checks:
website/src/common/DisplayList.tsx#L56
'data.map' is missing in props validation
|
Linting and Formatting checks:
website/src/common/Dropdown.tsx#L24
'defaultIndex' is missing in props validation
|
Linting and Formatting checks:
website/src/common/Dropdown.tsx#L29
'children' is missing in props validation
|
Linting and Formatting checks:
website/src/common/Dropdown.tsx#L45
'onChange' is missing in props validation
|
Linting and Formatting checks:
website/src/common/Dropdown.tsx#L55
'className' is missing in props validation
|
Linting and Formatting checks:
website/src/common/Dropdown.tsx#L58
'placeholder' is missing in props validation
|
Linting and Formatting checks:
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
|
Linting and Formatting checks:
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
|
Linting and Formatting checks:
website/src/pages/ComparePage/ComparePage.tsx#L46
React Hook useEffect has a missing dependency: 'navigate'. Either include it or remove the dependency array
|
Linting and Formatting checks:
website/src/pages/DailyPage/DailyPage.tsx#L50
React Hook useEffect has a missing dependency: 'navigate'. Either include it or remove the dependency array
|
Linting and Formatting checks:
website/src/pages/ForeignKeysPage/ForeignKeysPage.tsx#L78
React Hook useEffect has missing dependencies: 'loadData' and 'navigate'. Either include them or remove the dependency array
|
Linting and Formatting checks:
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
|
Linting and Formatting checks:
website/src/pages/MacroPage/MacroPage.tsx#L85
React Hook useEffect has missing dependencies: 'loadData' and 'navigate'. Either include them or remove the dependency array
|
Linting and Formatting checks:
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
|
Linting and Formatting checks:
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
|
Linting and Formatting checks:
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
|
Loading