Update eslint from v8.46.0 to v9.17.0 (#172) #851
Annotations
9 warnings
build
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
build:
packages/react-components/.storybook/preview.tsx#L27
React Hook React.useEffect has an unnecessary dependency: 'channel'. Either exclude it or remove the dependency array. Outer scope values like 'channel' aren't valid dependencies because mutating them doesn't re-render the component
|
build:
packages/react-components/src/FocusTrap/focus_trap.tsx#L55
React Hook React.useEffect has a missing dependency: 'disableAutoFocus'. Either include it or remove the dependency array
|
build:
packages/react-components/src/Popover/popover.tsx#L104
React Hook React.useMemo has a missing dependency: 'allowUseSameWidth'. Either include it or remove the dependency array
|
build:
packages/react-components/src/Toast/toast.tsx#L65
React Hook React.useEffect has missing dependencies: 'duration' and 'handleClose'. Either include them or remove the dependency array
|
build:
packages/react-components/src/hooks/use_autocomplete.ts#L378
React Hook React.useCallback has missing dependencies: 'filteredOptions' and 'value'. Either include them or remove the dependency array
|
build:
packages/react-components/src/hooks/use_autocomplete.ts#L380
React Hook React.useCallback has a complex expression in the dependency array. Extract it to a separate variable so it can be statically checked
|
build:
packages/react-components/src/hooks/use_window_event_listener.ts#L19
React Hook React.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
|
build:
packages/react-components/src/hooks/use_window_event_listener.ts#L19
React Hook React.useEffect has missing dependencies: 'event', 'listener', and 'removeOnUnmount'. Either include them or remove the dependency array
|