SIMSBIOHUB-400: BioHub Dataset & Security Feature Branch #463
lint-format.yml
on: pull_request
Checkout and cache target branch
7s
Running Linter and Formatter
2m 4s
Annotations
1 error and 11 warnings
Running Linter and Formatter
Process completed with exit code 1.
|
Running Linter and Formatter:
api/src/repositories/submission-repository.ts#L1082
'datasetId' is defined but never used
|
Running Linter and Formatter:
app/src/components/layout/header/Header.tsx#L10
Delete `Toolbar·from·'@mui/material/Toolbar';⏎import·`
|
Running Linter and Formatter:
app/src/components/layout/header/Header.tsx#L12
Insert `';⏎import·Toolbar·from·'@mui/material/Toolbar`
|
Running Linter and Formatter:
app/src/components/layout/header/Header.tsx#L18
Replace `Link·as·RouterLink·}·from·'react-router-dom';⏎import·{·useState·}·from·'react` with `useState·}·from·'react';⏎import·{·Link·as·RouterLink·}·from·'react-router-dom`
|
|
Running Linter and Formatter:
app/src/components/layout/header/UserControls.tsx#L7
Insert `useAuthStateContext·}·from·'hooks/useAuthStateContext';⏎import·{·`
|
Running Linter and Formatter:
app/src/components/layout/header/UserControls.tsx#L8
Replace `AuthStateContext·}·from·'hooks/useAuthStateContex` with `Memo·}·from·'reac`
|
Running Linter and Formatter:
app/src/components/layout/header/UserControls.tsx#L9
Delete `';⏎import·{·useMemo·}·from·'react`
|
|
Running Linter and Formatter:
app/src/utils/Utils.test.ts#L3
Insert `SYSTEM_IDENTITY_SOURCE·}·from·'hooks/useKeycloakWrapper';⏎import·{·`
|
Running Linter and Formatter:
app/src/utils/Utils.test.ts#L20
Delete `';⏎import·{·SYSTEM_IDENTITY_SOURCE·}·from·'hooks/useKeycloakWrapper`
|