Skip to content

Updates CHANGELOG

Updates CHANGELOG #623

Triggered via push January 1, 2024 19:48
Status Success
Total duration 50s
Artifacts

lint.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

20 errors and 11 warnings
lint: api/lambdas/document-preview.js#L2
Property 'REGION' comes from an index signature, so it must be accessed with ['REGION'].
lint: api/lambdas/document-preview.js#L3
Property 'ELASTIC_SEARCH_HOST' comes from an index signature, so it must be accessed with ['ELASTIC_SEARCH_HOST'].
lint: api/lambdas/document-preview.js#L4
Argument of type 'string | undefined' is not assignable to parameter of type 'string'.
lint: api/lambdas/document-preview.js#L7
Parameter 'event' implicitly has an 'any' type.
lint: api/lambdas/document-preview.js#L20
Parameter 'err' implicitly has an 'any' type.
lint: api/lambdas/document-preview.js#L20
Parameter 'terms' implicitly has an 'any' type.
lint: api/lambdas/document-preview.js#L57
Parameter 'body' implicitly has an 'any' type.
lint: api/lambdas/document-preview.js#L58
Expected 2 arguments, but got 1.
lint: api/lambdas/document-preview.js#L62
Property 'region' does not exist on type 'HttpRequest'.
lint: api/lambdas/document-preview.js#L63
Type 'boolean' is not assignable to type 'string'.
lint: api/lambdas/document-preview.js#L1
Expected 1 empty line after require statement not followed by another require
lint: api/lambdas/document-preview.js#L8
Expected indentation of 2 spaces but found 4
lint: api/lambdas/document-preview.js#L9
Expected indentation of 2 spaces but found 4
lint: api/lambdas/document-preview.js#L9
Use object destructuring
lint: api/lambdas/document-preview.js#L10
Expected indentation of 2 spaces but found 4
lint: api/lambdas/document-preview.js#L10
Use object destructuring
lint: api/lambdas/document-preview.js#L11
Trailing spaces not allowed
lint: api/lambdas/document-preview.js#L12
Expected indentation of 2 spaces but found 4
lint: api/lambdas/document-preview.js#L12
Unexpected var, use let or const instead
lint: api/lambdas/document-preview.js#L13
This line has a length of 92. Maximum allowed is 90
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: api/lambdas/document-preview.js#L87
Unexpected unnamed function
lint: api/lambdas/document-preview.js#L90
Unexpected unnamed function
lint: api/lambdas/document-preview.js#L110
Unexpected unnamed function
lint: api/lambdas/document-preview.js#L112
Unexpected unnamed function
lint: api/lambdas/document-preview.js#L116
Unexpected unnamed function
lint: api/lambdas/document-preview.js#L120
Unexpected unnamed function
lint: api/lambdas/search-by-keywords.js#L66
Avoid nesting promises
lint: api/lambdas/search-by-keywords.js#L74
Avoid calling back inside of a promise
lint: api/lambdas/search-by-keywords.js#L77
Avoid calling back inside of a promise
lint: api/lambdas/search-by-keywords.js#L92
Avoid calling back inside of a promise