Adding syntax of async/await to the file of utils.js #1173
Triggered via pull request
December 18, 2024 11:12
moksha-hub
opened
#1143
Status
Success
Total duration
1m 7s
Artifacts
–
lint-pull-requests.yml
on: pull_request_target
Run linters for pull requests
57s
Annotations
45 errors and 6 warnings
src/api/helpers/utils.js#L19
There should be no space after '{' (object-curly-spacing)
|
src/api/helpers/utils.js#L19
There should be no space before '}' (object-curly-spacing)
|
src/api/helpers/utils.js#L20
There should be no space after '{' (object-curly-spacing)
|
src/api/helpers/utils.js#L20
There should be no space before '}' (object-curly-spacing)
|
src/api/helpers/utils.js#L38
Expected indentation of 1 tab but found 4 spaces (indent)
|
src/api/helpers/utils.js#L39
Expected indentation of 2 tabs but found 8 spaces (indent)
|
src/api/helpers/utils.js#L40
Expected indentation of 1 tab but found 4 spaces (indent)
|
src/api/helpers/utils.js#L41
Expected indentation of 1 tab but found 4 spaces (indent)
|
src/api/helpers/utils.js#L42
Expected indentation of 2 tabs but found 8 spaces (indent)
|
src/api/helpers/utils.js#L43
Expected indentation of 2 tabs but found 8 spaces (indent)
|
src/api/helpers/utils.js#L44
Expected indentation of 3 tabs but found 12 spaces (indent)
|
src/api/helpers/utils.js#L44
Unexpected trailing comma (comma-dangle)
|
src/api/helpers/utils.js#L45
Expected indentation of 2 tabs but found 8 spaces (indent)
|
src/api/helpers/utils.js#L49
Expected indentation of 1 tab but found 4 spaces (indent)
|
src/api/helpers/utils.js#L50
Expected indentation of 1 tab but found 4 spaces (indent)
|
src/api/helpers/utils.js#L51
Expected indentation of 1 tab but found 4 spaces (indent)
|
src/api/helpers/utils.js#L52
Expected indentation of 1 tab but found 4 spaces (indent)
|
src/api/helpers/utils.js#L53
Expected indentation of 1 tab but found 4 spaces (indent)
|
src/api/helpers/utils.js#L54
Expected indentation of 1 tab but found 4 spaces (indent)
|
src/api/helpers/utils.js#L56
Expected indentation of 1 tab but found 4 spaces (indent)
|
src/api/helpers/utils.js#L56
There should be no space after '{' (object-curly-spacing)
|
src/api/helpers/utils.js#L56
There should be no space before '}' (object-curly-spacing)
|
src/api/helpers/utils.js#L58
Expected indentation of 1 tab but found 4 spaces (indent)
|
src/api/helpers/utils.js#L59
Expected indentation of 2 tabs but found 8 spaces (indent)
|
src/api/helpers/utils.js#L60
Expected indentation of 1 tab but found 4 spaces (indent)
|
src/api/helpers/utils.js#L62
Expected indentation of 1 tab but found 4 spaces (indent)
|
src/api/helpers/utils.js#L63
Expected indentation of 2 tabs but found 8 spaces (indent)
|
src/api/helpers/utils.js#L64
Trailing spaces not allowed (no-trailing-spaces)
|
src/api/helpers/utils.js#L65
Expected indentation of 2 tabs but found 8 spaces (indent)
|
src/api/helpers/utils.js#L66
Expected indentation of 3 tabs but found 12 spaces (indent)
|
src/api/helpers/utils.js#L68
Expected indentation of 3 tabs but found 12 spaces (indent)
|
src/api/helpers/utils.js#L69
Expected indentation of 4 tabs but found 16 spaces (indent)
|
src/api/helpers/utils.js#L71
Expected indentation of 3 tabs but found 12 spaces (indent)
|
src/api/helpers/utils.js#L72
Expected indentation of 4 tabs but found 16 spaces (indent)
|
src/api/helpers/utils.js#L73
Expected indentation of 3 tabs but found 12 spaces (indent)
|
src/api/helpers/utils.js#L73
Closing curly brace appears on the same line as the subsequent block (brace-style)
|
src/api/helpers/utils.js#L74
Expected indentation of 4 tabs but found 16 spaces (indent)
|
src/api/helpers/utils.js#L75
Expected indentation of 3 tabs but found 12 spaces (indent)
|
src/api/helpers/utils.js#L76
Expected indentation of 4 tabs but found 16 spaces (indent)
|
src/api/helpers/utils.js#L77
Expected indentation of 3 tabs but found 12 spaces (indent)
|
src/api/helpers/utils.js#L79
Expected indentation of 3 tabs but found 12 spaces (indent)
|
src/api/helpers/utils.js#L80
Expected indentation of 4 tabs but found 16 spaces (indent)
|
src/api/helpers/utils.js#L81
Expected indentation of 5 tabs but found 20 spaces (indent)
|
src/api/helpers/utils.js#L81
Unexpected `await` inside a loop (no-await-in-loop)
|
src/api/helpers/utils.js#L82
Expected indentation of 5 tabs but found 20 spaces (indent)
|
src/api/helpers/utils.js#L20
Expected 2 empty lines after import statement not followed by another import (import/newline-after-import)
|
src/client/components/pages/revision.js#L177
Unexpected 'todo' comment: 'TODO: Add proper error handling.' (no-warning-comments)
|
src/client/entity-editor/common/entity-search-field-option.js#L129
'props' is defined but never used (@typescript-eslint/no-unused-vars)
|
src/server/helpers/collectionRouteUtils.js#L22
'log' is defined but never used (@typescript-eslint/no-unused-vars)
|
src/server/routes/register.js#L22
'handler' is defined but never used (@typescript-eslint/no-unused-vars)
|
Run linters for pull requests
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|