Skip to content

Update eslint from v8.46.0 to v9.17.0 #830

Update eslint from v8.46.0 to v9.17.0

Update eslint from v8.46.0 to v9.17.0 #830

Triggered via pull request January 10, 2025 12:23
Status Failure
Total duration 1m 21s
Artifacts

ci.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 6 warnings
build: packages/color/jest.config.js#L1
'module' is not defined
build: packages/react-components/babel.config.js#L1
'module' is not defined
build: packages/react-components/jest.config.js#L1
'module' is not defined
build: packages/react-components/src/Autocomplete/autocomplete.stories.tsx#L109
Use "@ts-expect-error" instead of "@ts-ignore", as "@ts-ignore" will do nothing if the following line is error-free
build: packages/react-components/src/Autocomplete/autocomplete.stories.tsx#L114
Unexpected any. Specify a different type
build: packages/react-components/src/Autocomplete/autocomplete.tsx#L124
Unexpected any. Specify a different type
build: packages/react-components/src/Autocomplete/autocomplete.tsx#L335
Unexpected any. Specify a different type
build: packages/react-components/src/Autocomplete/autocomplete.tsx#L564
Use "@ts-expect-error" instead of "@ts-ignore", as "@ts-ignore" will do nothing if the following line is error-free
build: packages/react-components/src/Autocomplete/autocomplete.tsx#L574
Use "@ts-expect-error" instead of "@ts-ignore", as "@ts-ignore" will do nothing if the following line is error-free
build: packages/react-components/src/Autocomplete/autocomplete.tsx#L585
Use "@ts-expect-error" instead of "@ts-ignore", as "@ts-ignore" will do nothing if the following line is error-free
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#L53
React Hook React.useEffect has a missing dependency: 'disableAutoFocus'. 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