Updated syntax in utils.js with async/await #1145
82 errors and 5 warnings
ESLint found 82 errors and 5 warnings
Annotations
Check warning on line 20 in src/api/helpers/utils.js
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
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
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
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
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
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
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
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
github-actions / ESLint
src/api/helpers/utils.js#L20
There should be no space before '}' (object-curly-spacing)
Check failure on line 35 in src/api/helpers/utils.js
github-actions / ESLint
src/api/helpers/utils.js#L35
Expected indentation of 1 tab but found 4 spaces (indent)
Check failure on line 36 in src/api/helpers/utils.js
github-actions / ESLint
src/api/helpers/utils.js#L36
Expected indentation of 2 tabs but found 8 spaces (indent)
Check failure on line 37 in src/api/helpers/utils.js
github-actions / ESLint
src/api/helpers/utils.js#L37
Expected indentation of 1 tab but found 4 spaces (indent)
Check failure on line 39 in src/api/helpers/utils.js
github-actions / ESLint
src/api/helpers/utils.js#L39
Expected indentation of 1 tab but found 4 spaces (indent)
Check failure on line 40 in src/api/helpers/utils.js
github-actions / ESLint
src/api/helpers/utils.js#L40
Expected indentation of 2 tabs but found 8 spaces (indent)
Check failure on line 41 in src/api/helpers/utils.js
github-actions / ESLint
src/api/helpers/utils.js#L41
Expected indentation of 2 tabs but found 8 spaces (indent)
Check failure on line 42 in src/api/helpers/utils.js
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
github-actions / ESLint
src/api/helpers/utils.js#L43
Expected indentation of 3 tabs but found 12 spaces (indent)
Check failure on line 43 in src/api/helpers/utils.js
github-actions / ESLint
src/api/helpers/utils.js#L43
Unexpected trailing comma (comma-dangle)
Check failure on line 44 in src/api/helpers/utils.js
github-actions / ESLint
src/api/helpers/utils.js#L44
Expected indentation of 2 tabs but found 8 spaces (indent)
Check failure on line 59 in src/api/helpers/utils.js
github-actions / ESLint
src/api/helpers/utils.js#L59
Expected indentation of 1 tab but found 4 spaces (indent)
Check failure on line 60 in src/api/helpers/utils.js
github-actions / ESLint
src/api/helpers/utils.js#L60
Expected indentation of 1 tab but found 4 spaces (indent)
Check failure on line 61 in src/api/helpers/utils.js
github-actions / ESLint
src/api/helpers/utils.js#L61
Expected indentation of 1 tab but found 4 spaces (indent)
Check failure on line 62 in src/api/helpers/utils.js
github-actions / ESLint
src/api/helpers/utils.js#L62
Expected indentation of 1 tab but found 4 spaces (indent)
Check failure on line 63 in src/api/helpers/utils.js
github-actions / ESLint
src/api/helpers/utils.js#L63
Expected indentation of 1 tab but found 4 spaces (indent)
Check failure on line 64 in src/api/helpers/utils.js
github-actions / ESLint
src/api/helpers/utils.js#L64
Expected indentation of 1 tab but found 4 spaces (indent)