Adding async/await syntax to utils.js #1174
Triggered via pull request
December 18, 2024 11:55
moksha-hub
opened
#1144
Status
Success
Total duration
47s
Artifacts
–
lint-pull-requests.yml
on: pull_request_target
Run linters for pull requests
37s
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#L35
Expected indentation of 1 tab but found 4 spaces (indent)
|
src/api/helpers/utils.js#L36
Expected indentation of 2 tabs but found 8 spaces (indent)
|
src/api/helpers/utils.js#L37
Expected indentation of 1 tab but found 4 spaces (indent)
|
src/api/helpers/utils.js#L39
Expected indentation of 1 tab but found 4 spaces (indent)
|
src/api/helpers/utils.js#L40
Expected indentation of 2 tabs but found 8 spaces (indent)
|
src/api/helpers/utils.js#L41
Expected indentation of 2 tabs but found 8 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 3 tabs but found 12 spaces (indent)
|
src/api/helpers/utils.js#L43
Unexpected trailing comma (comma-dangle)
|
src/api/helpers/utils.js#L44
Expected indentation of 2 tabs but found 8 spaces (indent)
|
src/api/helpers/utils.js#L59
Expected indentation of 1 tab but found 4 spaces (indent)
|
src/api/helpers/utils.js#L60
Expected indentation of 1 tab but found 4 spaces (indent)
|
src/api/helpers/utils.js#L61
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 1 tab but found 4 spaces (indent)
|
src/api/helpers/utils.js#L64
Expected indentation of 1 tab but found 4 spaces (indent)
|
src/api/helpers/utils.js#L66
Expected indentation of 1 tab but found 4 spaces (indent)
|
src/api/helpers/utils.js#L66
There should be no space after '{' (object-curly-spacing)
|
src/api/helpers/utils.js#L66
There should be no space before '}' (object-curly-spacing)
|
src/api/helpers/utils.js#L68
Expected indentation of 1 tab but found 4 spaces (indent)
|
src/api/helpers/utils.js#L69
Expected indentation of 2 tabs but found 8 spaces (indent)
|
src/api/helpers/utils.js#L70
Expected indentation of 1 tab but found 4 spaces (indent)
|
src/api/helpers/utils.js#L72
Expected indentation of 1 tab but found 4 spaces (indent)
|
src/api/helpers/utils.js#L73
Expected indentation of 2 tabs but found 8 spaces (indent)
|
src/api/helpers/utils.js#L75
Expected indentation of 2 tabs but found 8 spaces (indent)
|
src/api/helpers/utils.js#L76
Expected indentation of 3 tabs but found 12 spaces (indent)
|
src/api/helpers/utils.js#L78
Expected indentation of 3 tabs but found 12 spaces (indent)
|
src/api/helpers/utils.js#L79
Expected indentation of 4 tabs but found 16 spaces (indent)
|
src/api/helpers/utils.js#L81
Expected indentation of 3 tabs but found 12 spaces (indent)
|
src/api/helpers/utils.js#L82
Expected indentation of 4 tabs but found 16 spaces (indent)
|
src/api/helpers/utils.js#L83
Expected indentation of 3 tabs but found 12 spaces (indent)
|
src/api/helpers/utils.js#L83
Closing curly brace appears on the same line as the subsequent block (brace-style)
|
src/api/helpers/utils.js#L84
Expected indentation of 4 tabs but found 16 spaces (indent)
|
src/api/helpers/utils.js#L85
Expected indentation of 3 tabs but found 12 spaces (indent)
|
src/api/helpers/utils.js#L86
Expected indentation of 4 tabs but found 16 spaces (indent)
|
src/api/helpers/utils.js#L87
Expected indentation of 3 tabs but found 12 spaces (indent)
|
src/api/helpers/utils.js#L89
Expected indentation of 3 tabs but found 12 spaces (indent)
|
src/api/helpers/utils.js#L90
Expected indentation of 4 tabs but found 16 spaces (indent)
|
src/api/helpers/utils.js#L91
Expected indentation of 5 tabs but found 20 spaces (indent)
|
src/api/helpers/utils.js#L91
Unexpected `await` inside a loop (no-await-in-loop)
|
src/api/helpers/utils.js#L92
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
|