Skip to content

Adding syntax of async/await to the file of utils.js #1173

Adding syntax of async/await to the file of utils.js

Adding syntax of async/await to the file of utils.js #1173

GitHub Actions / ESLint failed Dec 18, 2024 in 0s

89 errors and 5 warnings

ESLint found 89 errors and 5 warnings

Annotations

Check warning on line 20 in src/api/helpers/utils.js

See this annotation in the file changed.

@github-actions github-actions / ESLint

src/api/helpers/utils.js#L20

Expected 2 empty lines after import statement not followed by another import (import/newline-after-import)

Check warning on line 177 in src/client/components/pages/revision.js

See this annotation in the file changed.

@github-actions github-actions / ESLint

src/client/components/pages/revision.js#L177

Unexpected 'todo' comment: 'TODO: Add proper error handling.' (no-warning-comments)

Check warning on line 129 in src/client/entity-editor/common/entity-search-field-option.js

See this annotation in the file changed.

@github-actions github-actions / ESLint

src/client/entity-editor/common/entity-search-field-option.js#L129

'props' is defined but never used (@typescript-eslint/no-unused-vars)

Check warning on line 22 in src/server/helpers/collectionRouteUtils.js

See this annotation in the file changed.

@github-actions github-actions / ESLint

src/server/helpers/collectionRouteUtils.js#L22

'log' is defined but never used (@typescript-eslint/no-unused-vars)

Check warning on line 22 in src/server/routes/register.js

See this annotation in the file changed.

@github-actions github-actions / ESLint

src/server/routes/register.js#L22

'handler' is defined but never used (@typescript-eslint/no-unused-vars)

Check failure on line 19 in src/api/helpers/utils.js

See this annotation in the file changed.

@github-actions github-actions / ESLint

src/api/helpers/utils.js#L19

There should be no space after '{' (object-curly-spacing)

Check failure on line 19 in src/api/helpers/utils.js

See this annotation in the file changed.

@github-actions github-actions / ESLint

src/api/helpers/utils.js#L19

There should be no space before '}' (object-curly-spacing)

Check failure on line 20 in src/api/helpers/utils.js

See this annotation in the file changed.

@github-actions github-actions / ESLint

src/api/helpers/utils.js#L20

There should be no space after '{' (object-curly-spacing)

Check failure on line 20 in src/api/helpers/utils.js

See this annotation in the file changed.

@github-actions github-actions / ESLint

src/api/helpers/utils.js#L20

There should be no space before '}' (object-curly-spacing)

Check failure on line 38 in src/api/helpers/utils.js

See this annotation in the file changed.

@github-actions github-actions / ESLint

src/api/helpers/utils.js#L38

Expected indentation of 1 tab but found 4 spaces (indent)

Check failure on line 39 in src/api/helpers/utils.js

See this annotation in the file changed.

@github-actions github-actions / ESLint

src/api/helpers/utils.js#L39

Expected indentation of 2 tabs but found 8 spaces (indent)

Check failure on line 40 in src/api/helpers/utils.js

See this annotation in the file changed.

@github-actions github-actions / ESLint

src/api/helpers/utils.js#L40

Expected indentation of 1 tab but found 4 spaces (indent)

Check failure on line 41 in src/api/helpers/utils.js

See this annotation in the file changed.

@github-actions github-actions / ESLint

src/api/helpers/utils.js#L41

Expected indentation of 1 tab but found 4 spaces (indent)

Check failure on line 42 in src/api/helpers/utils.js

See this annotation in the file changed.

@github-actions github-actions / ESLint

src/api/helpers/utils.js#L42

Expected indentation of 2 tabs but found 8 spaces (indent)

Check failure on line 43 in src/api/helpers/utils.js

See this annotation in the file changed.

@github-actions github-actions / ESLint

src/api/helpers/utils.js#L43

Expected indentation of 2 tabs but found 8 spaces (indent)

Check failure on line 44 in src/api/helpers/utils.js

See this annotation in the file changed.

@github-actions github-actions / ESLint

src/api/helpers/utils.js#L44

Expected indentation of 3 tabs but found 12 spaces (indent)

Check failure on line 44 in src/api/helpers/utils.js

See this annotation in the file changed.

@github-actions github-actions / ESLint

src/api/helpers/utils.js#L44

Unexpected trailing comma (comma-dangle)

Check failure on line 45 in src/api/helpers/utils.js

See this annotation in the file changed.

@github-actions github-actions / ESLint

src/api/helpers/utils.js#L45

Expected indentation of 2 tabs but found 8 spaces (indent)

Check failure on line 49 in src/api/helpers/utils.js

See this annotation in the file changed.

@github-actions github-actions / ESLint

src/api/helpers/utils.js#L49

Expected indentation of 1 tab but found 4 spaces (indent)

Check failure on line 50 in src/api/helpers/utils.js

See this annotation in the file changed.

@github-actions github-actions / ESLint

src/api/helpers/utils.js#L50

Expected indentation of 1 tab but found 4 spaces (indent)

Check failure on line 51 in src/api/helpers/utils.js

See this annotation in the file changed.

@github-actions github-actions / ESLint

src/api/helpers/utils.js#L51

Expected indentation of 1 tab but found 4 spaces (indent)

Check failure on line 52 in src/api/helpers/utils.js

See this annotation in the file changed.

@github-actions github-actions / ESLint

src/api/helpers/utils.js#L52

Expected indentation of 1 tab but found 4 spaces (indent)

Check failure on line 53 in src/api/helpers/utils.js

See this annotation in the file changed.

@github-actions github-actions / ESLint

src/api/helpers/utils.js#L53

Expected indentation of 1 tab but found 4 spaces (indent)

Check failure on line 54 in src/api/helpers/utils.js

See this annotation in the file changed.

@github-actions github-actions / ESLint

src/api/helpers/utils.js#L54

Expected indentation of 1 tab but found 4 spaces (indent)

Check failure on line 56 in src/api/helpers/utils.js

See this annotation in the file changed.

@github-actions github-actions / ESLint

src/api/helpers/utils.js#L56

Expected indentation of 1 tab but found 4 spaces (indent)