Add GitHub Action for Linting on Pull Requests #2
Annotations
4 errors and 11 warnings
lint:
src/Components/Assets/AssetImportModal.tsx#L38
'setLocationsLoading' is assigned a value but never used. Allowed unused vars must match /^_/u
|
|
|
lint
Process completed with exit code 1.
|
lint
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-node@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
lint:
src/CAREUI/interactive/FiltersSlideover.tsx#L10
Unexpected any. Specify a different type
|
lint:
src/CAREUI/interactive/LegendInput.tsx#L15
Unexpected any. Specify a different type
|
lint:
src/CAREUI/interactive/LegendInput.tsx#L16
Unexpected any. Specify a different type
|
lint:
src/CAREUI/interactive/LegendInput.tsx#L17
Unexpected any. Specify a different type
|
lint:
src/CAREUI/interactive/LegendInput.tsx#L18
Unexpected any. Specify a different type
|
lint:
src/CAREUI/interactive/LegendInput.tsx#L19
Unexpected any. Specify a different type
|
lint:
src/CAREUI/interactive/LegendInput.tsx#L20
Unexpected any. Specify a different type
|
lint:
src/CAREUI/interactive/LegendInput.tsx#L68
React Hook useEffect has missing dependencies: 'ref' and 'testAutoFill'. Either include them or remove the dependency array. Mutable values like 'ref.current' aren't valid dependencies because mutating them doesn't re-render the component
|
lint:
src/Common/constants.tsx#L709
Unexpected any. Specify a different type
|
lint:
src/Common/hooks/useActiveLink.ts#L30
Unexpected any. Specify a different type
|