BB-874: feat(editor): add recently used entities to dropdowns #1326
6 errors and 5 warnings
ESLint found 6 errors and 5 warnings
Annotations
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 224 in src/client/entity-editor/common/entity-search-field-option.js
github-actions / ESLint
src/client/entity-editor/common/entity-search-field-option.js#L224
'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 warning on line 5 in test/src/server/routes/user.js
github-actions / ESLint
test/src/server/routes/user.js#L5
'orm' is defined but never used (@typescript-eslint/no-unused-vars)
Check failure on line 32 in src/client/entity-editor/common/entity-search-field-option.js
github-actions / ESLint
src/client/entity-editor/common/entity-search-field-option.js#L32
Imports should be sorted alphabetically (sort-imports)
Check failure on line 60 in src/client/entity-editor/common/entity-search-field-option.js
github-actions / ESLint
src/client/entity-editor/common/entity-search-field-option.js#L60
Identifier 'edition_groups' is not in camel case (camelcase)
Check failure on line 210 in src/client/entity-editor/common/entity-search-field-option.js
github-actions / ESLint
src/client/entity-editor/common/entity-search-field-option.js#L210
Expected space(s) after "return" (keyword-spacing)
Check failure on line 273 in src/client/entity-editor/common/entity-search-field-option.js
github-actions / ESLint
src/client/entity-editor/common/entity-search-field-option.js#L273
Props should be sorted alphabetically (react/jsx-sort-props)
Check failure on line 323 in src/client/entity-editor/common/entity-search-field-option.js
github-actions / ESLint
src/client/entity-editor/common/entity-search-field-option.js#L323
Prop types declarations should be sorted alphabetically (react/sort-prop-types)
Check failure on line 323 in src/client/entity-editor/common/entity-search-field-option.js
github-actions / ESLint
src/client/entity-editor/common/entity-search-field-option.js#L323
Expected object keys to be in ascending order. 'onChange' should be before 'recentlyUsedEntityType' (sort-keys)