Skip to content

🌱 eslint - add react-query checks #4631

🌱 eslint - add react-query checks

🌱 eslint - add react-query checks #4631

Triggered via pull request September 22, 2023 13:21
Status Failure
Total duration 2m 10s
Artifacts
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

ci-actions.yml

on: pull_request
Matrix: unit-test
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 11 warnings
unit-test (18.x): client/src/app/queries/applications.ts#L111
Objects syntax for query is preferred
unit-test (18.x): client/src/app/queries/applications.ts#L125
Objects syntax for query is preferred
unit-test (18.x): client/src/app/queries/applications.ts#L144
The following dependencies are missing in your queryKey: type
unit-test (18.x): client/src/app/queries/assessments.ts#L128
The following dependencies are missing in your queryKey: isArchetype
unit-test (18.x): client/src/app/queries/businessservices.ts#L79
Objects syntax for query is preferred
unit-test (18.x): client/src/app/queries/dependencies.ts#L31
The following dependencies are missing in your queryKey: params
unit-test (18.x)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-node@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
unit-test (18.x): client/config/webpack.common.ts#L2
'WatchIgnorePlugin' is defined but never used
unit-test (18.x): client/config/webpack.common.ts#L2
'WatchIgnorePlugin' is defined but never used
unit-test (18.x): client/src/app/Routes.tsx#L67
Unexpected any. Specify a different type
unit-test (18.x): client/src/app/api/models.ts#L208
Unexpected any. Specify a different type
unit-test (18.x): client/src/app/api/models.ts#L365
Unexpected any. Specify a different type
unit-test (18.x)
Unexpected any. Specify a different type
unit-test (18.x)
Unexpected any. Specify a different type
unit-test (18.x): client/src/app/api/rest.ts#L120
'buildQuery' is assigned a value but never used
unit-test (18.x): client/src/app/api/rest.ts#L120
Unexpected any. Specify a different type
unit-test (18.x): client/src/app/api/rest.ts#L124
Unexpected any. Specify a different type