Skip to content

chore(deps): update dependency prettier to v2.8.8 #1634

chore(deps): update dependency prettier to v2.8.8

chore(deps): update dependency prettier to v2.8.8 #1634

Triggered via pull request May 28, 2023 10:33
Status Failure
Total duration 7m 1s
Artifacts

check-codebase.yml

on: pull_request
Matrix: Unit tests
Fit to window
Zoom out
Zoom in

Annotations

5 errors and 18 warnings
Linting: src/factory/createReducerContext.ts#L7
Replace `⏎····createContext<[React.ReducerState<R>,·React.Dispatch<React.ReducerAction<R>>]·|·undefined>(` with `·createContext<⏎····[React.ReducerState<R>,·React.Dispatch<React.ReducerAction<R>>]·|·undefined`
Linting: src/factory/createReducerContext.ts#L9
Replace `····undefined⏎····` with `>(undefined`
Linting: src/factory/createStateContext.ts#L4
Replace `⏎····createContext<[T,·React.Dispatch<React.SetStateAction<T>>]·|·undefined>(undefined` with `·createContext<[T,·React.Dispatch<React.SetStateAction<T>>]·|·undefined>(⏎····undefined⏎··`
Linting: src/useMultiStateValidator.ts#L5
Replace `V·extends·ValidityState,·S·extends·MultiStateValidatorStates>·=⏎·` with `⏎··V·extends·ValidityState,⏎··S·extends·MultiStateValidatorStates⏎>·=`
Linting
Process completed with exit code 1.
Build
Node.js 12 actions are deprecated. Please update the following actions to use Node.js 16: actions/checkout@v2, actions/setup-node@v1. For more information see: https://github.blog/changelog/2022-09-22-github-actions-all-actions-will-begin-running-on-node16-instead-of-node12/.
Linting
Node.js 12 actions are deprecated. Please update the following actions to use Node.js 16: actions/checkout@v2, actions/setup-node@v1. For more information see: https://github.blog/changelog/2022-09-22-github-actions-all-actions-will-begin-running-on-node16-instead-of-node12/.
Linting: src/factory/createBreakpoint.ts#L21
React Hook useMemo has an unnecessary dependency: 'breakpoints'. Either exclude it or remove the dependency array. Outer scope values like 'breakpoints' aren't valid dependencies because mutating them doesn't re-render the component
Linting: src/factory/createHTMLMediaHook.ts#L238
React Hook useEffect has missing dependencies: 'controls', 'props.autoPlay', and 'setState'. Either include them or remove the dependency array
Linting: src/factory/createMemo.ts#L6
React Hook useMemo 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
Linting: src/factory/createMemo.ts#L6
React Hook useMemo has a missing dependency: 'args'. Either include it or remove the dependency array
Linting: src/factory/createRouter.ts#L16
'Router' is assigned a value but never used
Linting: src/useAsyncFn.ts#L64
React Hook useCallback 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
Linting: src/useAsyncFn.ts#L64
React Hook useCallback has missing dependencies: 'fn', 'isMounted', and 'state.loading'. Either include them or remove the dependency array. If 'fn' changes too often, find the parent component that defines it and wrap that definition in useCallback
Linting: src/useAsyncRetry.ts#L25
React Hook useCallback has a spread element in its dependency array. This means we can't statically verify whether you've passed the correct dependencies
Linting: src/useBattery.ts#L78
React Hook useEffect has a missing dependency: 'state'. Either include it or remove the dependency array
Linting: src/useCopyToClipboard.ts#L65
React Hook useCallback has missing dependencies: 'isMounted' and 'setState'. Either include them or remove the dependency array
Unit tests (ubuntu-latest, 16)
Node.js 12 actions are deprecated. Please update the following actions to use Node.js 16: actions/checkout@v2, actions/setup-node@v1. For more information see: https://github.blog/changelog/2022-09-22-github-actions-all-actions-will-begin-running-on-node16-instead-of-node12/.
Storybook
Node.js 12 actions are deprecated. Please update the following actions to use Node.js 16: actions/checkout@v2, actions/setup-node@v1. For more information see: https://github.blog/changelog/2022-09-22-github-actions-all-actions-will-begin-running-on-node16-instead-of-node12/.
Unit tests (ubuntu-latest, 14)
Node.js 12 actions are deprecated. Please update the following actions to use Node.js 16: actions/checkout@v2, actions/setup-node@v1. For more information see: https://github.blog/changelog/2022-09-22-github-actions-all-actions-will-begin-running-on-node16-instead-of-node12/.
Unit tests (ubuntu-latest, 12)
Node.js 12 actions are deprecated. Please update the following actions to use Node.js 16: actions/checkout@v2, actions/setup-node@v1. For more information see: https://github.blog/changelog/2022-09-22-github-actions-all-actions-will-begin-running-on-node16-instead-of-node12/.
Unit tests (macos-latest, 16)
Node.js 12 actions are deprecated. Please update the following actions to use Node.js 16: actions/checkout@v2, actions/setup-node@v1. For more information see: https://github.blog/changelog/2022-09-22-github-actions-all-actions-will-begin-running-on-node16-instead-of-node12/.
Unit tests (macos-latest, 14)
Node.js 12 actions are deprecated. Please update the following actions to use Node.js 16: actions/checkout@v2, actions/setup-node@v1. For more information see: https://github.blog/changelog/2022-09-22-github-actions-all-actions-will-begin-running-on-node16-instead-of-node12/.