chore: re-enable no-unused-vars ESLint rule and address related issues #5240
Annotations
11 warnings
unit
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-node@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
unit
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, actions/setup-node@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
unit:
src/components/DynamicDimension/ItemSelector.js#L119
React Hook useEffect has a missing dependency: 'fetchItems'. Either include it or remove the dependency array
|
unit:
src/components/DynamicDimension/ItemSelector.js#L131
React Hook useCallback has a missing dependency: 'onSelect'. Either include it or remove the dependency array. If 'onSelect' changes too often, find the parent component that defines it and wrap that definition in useCallback
|
unit:
src/components/DynamicDimension/ItemSelector.js#L137
React Hook useCallback has a missing dependency: 'fetchItems'. Either include it or remove the dependency array
|
unit:
src/components/FileMenu/DeleteDialog.js#L26
React Hook useMemo has a missing dependency: 'type'. Either include it or remove the dependency array
|
unit:
src/components/TranslationDialog/TranslationModal/TranslationForm.js#L149
React Hook useEffect has a missing dependency: 'fetchFieldsTranslations'. Either include it or remove the dependency array
|
unit:
src/components/UserMention/useUserSearchResults.js#L24
React Hook useCallback received a function whose dependencies are unknown. Pass an inline function instead
|
unit:
src/modules/pivotTable/useScrollPosition.js#L7
React Hook useCallback does nothing when called with only one argument. Did you forget to pass an array of dependencies?
|
unit:
src/modules/utils.js#L25
React Hook useEffect was passed a dependency list that is not an array literal. This means we can't statically verify whether you've passed the correct dependencies
|
unit:
src/modules/utils.js#L25
React Hook useEffect has a missing dependency: 'fn'. Either include it or remove the dependency array. If 'fn' changes too often, find the parent component that defines it and wrap that definition in useCallback
|