Chore: Adding lint workflow and fixing format issues #7
typescript_lint.yml
on: pull_request
Typescript Linting, Formatting and Type checking
19s
Build check
0s
Annotations
10 errors and 8 warnings
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#L79
'children' is missing in props validation
|
Typescript Linting, Formatting and Type checking:
website/src/common/Dropdown.tsx#L98
'className' is missing in props validation
|
Typescript Linting, Formatting and Type checking:
website/src/common/Dropdown.tsx#L99
'isSelected' is missing in props validation
|
Typescript Linting, Formatting and Type checking:
website/src/common/Dropdown.tsx#L101
'onClick' is missing in props validation
|
Typescript Linting, Formatting and Type checking:
website/src/common/Dropdown.tsx#L103
'children' 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#L220
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/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#L78
React Hook useEffect has a missing dependency: 'loadRefs'. Either include it or remove the dependency array
|
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/MicroPage/MicroPage.tsx#L75
React Hook useEffect has missing dependencies: 'gitRefLeft', 'gitRefRight', and 'setError'. Either include them or remove the dependency array
|
Typescript Linting, Formatting and Type checking:
website/src/pages/MicroPage/MicroPage.tsx#L95
React Hook useEffect has missing dependencies: 'isFirstCallFinished' and 'setError'. Either include them or remove the dependency array
|
Typescript Linting, Formatting and Type checking:
website/src/pages/MicroPage/MicroPage.tsx#L102
React Hook useEffect has a missing dependency: 'navigate'. Either include it or remove the dependency array
|