Skip to content

fix(dependencies): remove un-used dependencies (#1034) #3206

fix(dependencies): remove un-used dependencies (#1034)

fix(dependencies): remove un-used dependencies (#1034) #3206

Triggered via push October 2, 2023 15:24
Status Success
Total duration 12m 20s
Artifacts

quality.yml

on: push
Matrix: Lint
Matrix: Test
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 59 warnings
Lint Dockerfile: docker/elasticsearch/Dockerfile#L1
DL3026 error: Use only an allowed registry in the FROM image
Lint Dockerfile: targets/alert-cli/Dockerfile#L3
DL3026 error: Use only an allowed registry in the FROM image
Lint Dockerfile: targets/alert-cli/Dockerfile#L37
DL3026 error: Use only an allowed registry in the FROM image
Lint Dockerfile: targets/alert-cli/Dockerfile#L40
DL3018 warning: Pin versions in apk add. Instead of `apk add <package>` use `apk add <package>=<version>`
Lint Dockerfile: targets/contributions/Dockerfile#L3
DL3026 error: Use only an allowed registry in the FROM image
Lint Dockerfile: targets/contributions/Dockerfile#L29
DL3026 error: Use only an allowed registry in the FROM image
Lint Dockerfile: targets/export-elasticsearch/Dockerfile#L3
DL3026 error: Use only an allowed registry in the FROM image
Lint Dockerfile: targets/export-elasticsearch/Dockerfile#L5
DL3018 warning: Pin versions in apk add. Instead of `apk add <package>` use `apk add <package>=<version>`
Lint Dockerfile: targets/export-elasticsearch/Dockerfile#L5
DL3019 info: Use the `--no-cache` switch to avoid the need to use `--update` and remove `/var/cache/apk/*` when done installing packages
Lint Dockerfile: targets/export-elasticsearch/Dockerfile#L48
DL3026 error: Use only an allowed registry in the FROM image
Lint Dockerfile
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Build
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/cache@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 (@socialgouv/cdtn-elasticsearch)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/cache@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 (alert-cli)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/cache@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 (alert-cli): targets/alert-cli/src/dares/difference.ts#L29
Unexpected any. Specify a different type
Lint (alert-cli): targets/alert-cli/src/dares/scrapping.ts#L7
Unsafe argument of type `any` assigned to a parameter of type `string`
Lint (alert-cli): targets/alert-cli/src/diff/dila/Agreement/types.ts#L3
Use an `interface` instead of a `type`
Lint (alert-cli): targets/alert-cli/src/diff/dila/Code/types.ts#L3
Use an `interface` instead of a `type`
Lint (alert-cli): targets/alert-cli/src/diff/dila/types.ts#L6
'DocumentReferences' is defined but never used
Lint (alert-cli): targets/alert-cli/src/diff/dila/types.ts#L26
Use an `interface` instead of a `type`
Lint (alert-cli): targets/alert-cli/src/diff/get-diff.ts#L45
Implicit any in catch clause
Lint (alert-cli): targets/alert-cli/src/diff/index.ts#L19
Async method 'getFileFilter' has no 'await' expression
Lint (frontend)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/cache@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 (export-elasticsearch)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/cache@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 (export-elasticsearch): targets/export-elasticsearch/src/server.ts#L90
'_next' is defined but never used
Lint (export-elasticsearch): targets/export-elasticsearch/src/services/__test__/fake/copy.ts#L8
'sourceContainerName' is defined but never used
Lint (export-elasticsearch): targets/export-elasticsearch/src/services/__test__/fake/copy.ts#L9
'destinationContainerName' is defined but never used
Lint (export-elasticsearch): targets/export-elasticsearch/src/services/__test__/fake/sitemap.ts#L8
'destinationContainer' is defined but never used
Lint (export-elasticsearch): targets/export-elasticsearch/src/services/__test__/fake/sitemap.ts#L17
'destinationContainer' is defined but never used
Lint (@shared/dila-resolver)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/cache@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 (ingester)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/cache@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 (ingester): targets/ingester/src/articles/kali/__tests__/indexed-article.test.ts#L25
Async arrow function has no 'await' expression
Lint (ingester): targets/ingester/src/articles/kali/agreement-articles-with-path.ts#L22
Unsafe argument of type `any` assigned to a parameter of type `Node`
Lint (ingester): targets/ingester/src/articles/kali/agreement-articles-with-path.ts#L22
Unexpected any. Specify a different type
Lint (ingester): targets/ingester/src/articles/kali/load-agreement-articles.ts#L6
Use an `interface` instead of a `type`
Lint (ingester): targets/ingester/src/articles/kali/update-agreement-articles.ts#L11
Use an `interface` instead of a `type`
Lint (ingester): targets/ingester/src/articles/kali/update-agreement-articles.ts#L15
Use an `interface` instead of a `type`
Lint (ingester): targets/ingester/src/articles/legi/load-labour-code-articles.ts#L5
Use an `interface` instead of a `type`
Lint (ingester): targets/ingester/src/articles/legi/load-labour-code-articles.ts#L32
Unsafe argument of type `any` assigned to a parameter of type `Node`
Lint (ingester): targets/ingester/src/articles/legi/load-labour-code-articles.ts#L32
Unexpected any. Specify a different type
Lint (@shared/elasticsearch-document-adapter)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/cache@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 (@shared/elasticsearch-document-adapter): shared/elasticsearch-document-adapter/src/__tests__/cdtnDocuments.test.ts#L24
Unsafe argument of type `any` assigned to a parameter of type `{ [s: string]: unknown; } | ArrayLike<unknown>`
Lint (@shared/elasticsearch-document-adapter): shared/elasticsearch-document-adapter/src/__tests__/cdtnDocuments.test.ts#L44
Unsafe argument of type `any` assigned to a parameter of type `{ [s: string]: unknown; } | ArrayLike<unknown>`
Lint (@shared/elasticsearch-document-adapter): shared/elasticsearch-document-adapter/src/breadcrumbs.ts#L27
'parentTheme' is already declared in the upper scope on line 26 column 11
Lint (@shared/elasticsearch-document-adapter): shared/elasticsearch-document-adapter/src/breadcrumbs.ts#L65
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator
Lint (@socialgouv/cdtn-logger)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/cache@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 (@socialgouv/cdtn-logger): shared/logger/src/index.ts#L3
Variable name `Console` must match one of the following formats: camelCase, UPPER_CASE
Test (@shared/dila-resolver)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/cache@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Test (@shared/elasticsearch-document-adapter)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/cache@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Test (@socialgouv/cdtn-logger)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/cache@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Test (@socialgouv/cdtn-elasticsearch)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/cache@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Test (export-elasticsearch)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/cache@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Test (alert-cli)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/cache@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Test (frontend)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/cache@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Test (ingester)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/cache@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/