Skip to content

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

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

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

Triggered via pull request July 22, 2024 19:01
Status Failure
Total duration 4m 58s
Artifacts

check-codebase.yml

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

Annotations

5 errors and 22 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
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/
Build
The following actions uses Node.js version which is deprecated 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/
Linting
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/
Linting
The following actions uses Node.js version which is deprecated 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/
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, 20)
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 tests (ubuntu-latest, 20)
The following actions uses Node.js version which is deprecated 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 tests (ubuntu-latest, 22)
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 tests (ubuntu-latest, 22)
The following actions uses Node.js version which is deprecated 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 tests (macos-latest, 20)
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 tests (macos-latest, 20)
The following actions uses Node.js version which is deprecated 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 tests (macos-latest, 22)
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 tests (macos-latest, 22)
The following actions uses Node.js version which is deprecated 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/