Skip to content

Updated syntax in utils.js with async/await #1177

Updated syntax in utils.js with async/await

Updated syntax in utils.js with async/await #1177

Triggered via pull request December 19, 2024 08:36
@moksha-hubmoksha-hub
synchronize #1146
Status Success
Total duration 52s
Artifacts

lint-pull-requests.yml

on: pull_request_target
Run linters for pull requests
41s
Run linters for pull requests
Fit to window
Zoom out
Zoom in

Annotations

6 errors and 6 warnings
src/api/helpers/utils.js#L64
Unexpected use of continue statement (no-continue)
src/api/helpers/utils.js#L68
Unexpected `await` inside a loop (no-await-in-loop)
src/api/helpers/utils.js#L72
Unexpected use of continue statement (no-continue)
src/api/helpers/utils.js#L84
Unexpected console statement (no-console)
src/api/helpers/utils.js#L85
Unexpected use of continue statement (no-continue)
src/api/helpers/utils.js#L101
Unexpected console statement (no-console)
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