chore(deps): update dependency prettier to v2.8.8 #2084
check-codebase.yml
on: pull_request
Build
1m 53s
Linting
1m 53s
Matrix: Unit tests
Annotations
5 errors and 14 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
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Linting
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
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)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Unit tests (ubuntu-latest, 22)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|