[Task] Get linter working in CI as a Github action #33
pull_request.yml
on: pull_request
.Pre
/
Check Cache
5s
Lint
/
Prettier
35s
Lint
/
TSC
35s
Lint
/
ESLint
52s
Lint
/
StyleLint
31s
Matrix: CodeQL / analyze
Annotations
21 errors and 2 warnings
Lint / Prettier
Process completed with exit code 1.
|
Lint / TSC:
src/App.tsx#L239
'BasicLayout' cannot be used as a JSX component.
|
Lint / TSC:
src/components/BetaAndLegalNotice.tsx#L12
Unused '@ts-expect-error' directive.
|
Lint / TSC:
src/components/Link.utils.tsx#L43
Type '{ name: string; className: string; }' is not assignable to type 'IntrinsicAttributes & IconProperties'.
|
Lint / TSC:
src/pages/AuthenticatedLanding/MailingListSignup.tsx#L14
Unused '@ts-expect-error' directive.
|
Lint / TSC:
src/pages/Filing/FilingApp/FileSubmission.data.tsx#L127
Type '""' is not assignable to type 'HeadingLevel | undefined'.
|
Lint / TSC:
src/pages/Filing/FilingApp/FilingErrors/index.tsx#L237
Type 'string | undefined' is not assignable to type 'string'.
|
Lint / TSC:
src/pages/Filing/FilingApp/FilingErrors/index.tsx#L238
Type 'string | undefined' is not assignable to type 'string'.
|
Lint / TSC:
src/pages/Filing/FilingApp/FilingErrors/index.tsx#L254
Type 'string | undefined' is not assignable to type 'string'.
|
Lint / TSC:
src/pages/Filing/FilingApp/FilingErrors/index.tsx#L255
Type 'string | undefined' is not assignable to type 'string'.
|
Lint / TSC:
src/pages/Filing/FilingApp/FilingErrors/index.tsx#L268
Type 'string | undefined' is not assignable to type 'string'.
|
Lint / ESLint:
e2e/utils/createKeycloakUser.ts#L1
'@s3pweb/keycloak-admin-client-cjs' should be listed in the project's dependencies, not devDependencies
|
Lint / ESLint:
e2e/utils/createKeycloakUser.ts#L7
Missing accessibility modifier on method definition constructor
|
Lint / ESLint:
e2e/utils/getKeycloakToken.ts#L17
Unsafe array destructuring of a tuple element with an `any` value
|
Lint / ESLint:
e2e/utils/getKeycloakToken.ts#L18
Unsafe member access .access_token on an `any` value
|
Lint / ESLint:
src/pages/Error/_shared.tsx#L14
'properties' is defined but never used
|
Lint / ESLint:
src/pages/ProfileForm/ProfileFormUtils.ts#L5
'FormattedPointOfContactSchema' is defined but never used
|
Lint / ESLint:
src/pages/ProfileForm/ProfileFormUtils.ts#L9
'PointOfContactSchema' is defined but never used
|
Lint / ESLint:
src/pages/Summary/SummaryRoutes.tsx#L4
Prefer default export on a file with single export
|
Lint / ESLint:
src/utils/useWidthMatch.ts#L10
Missing return type on function
|
Lint / ESLint
Process completed with exit code 1.
|
Lint / ESLint:
e2e/utils/createDomainAssociation.ts#L24
Unexpected console statement
|
CodeQL / Analyze (javascript-typescript)
1 issue was detected with this workflow: Please specify an on.push hook to analyze and see code scanning alerts from the default branch on the Security tab.
|