Skip to content

fix: format and style error messages #5467

fix: format and style error messages

fix: format and style error messages #5467

Triggered via push December 9, 2024 13:30
Status Success
Total duration 1m 34s
Artifacts

node-test.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

11 warnings
unit
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
unit: src/components/DataDimension/Info/CalculationInfo.js#L61
React Hook useCallback has missing dependencies: 'apiVersion' and 'baseUrl'. Either include them or remove the dependency array
unit: src/components/DataDimension/Info/DataElementOperandInfo.js#L74
React Hook useCallback has missing dependencies: 'apiVersion' and 'baseUrl'. Either include them or remove the dependency array
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