Skip to content

Add nullability to all types #25

Add nullability to all types

Add nullability to all types #25

Triggered via push July 7, 2025 14:29
Status Failure
Total duration 47s
Artifacts

push.yml

on: push
Matrix: Test
Publish Version
Publish Version
Fit to window
Zoom out
Zoom in

Annotations

13 errors and 10 warnings
Audit
Process completed with exit code 30.
Lint
Process completed with exit code 1.
Lint: src/useMouseHovered.ts#L12
Replace `ref:·RefObject<Element·|·null>,·options:·UseMouseHoveredOptions·=·{}` with `⏎··ref:·RefObject<Element·|·null>,⏎··options:·UseMouseHoveredOptions·=·{}⏎`
Lint: src/useLockBodyScroll.ts#L49
Replace `_locked:·boolean·=·true,·_elementRef?:·RefObject<HTMLElement·|·null>` with `⏎······_locked:·boolean·=·true,⏎······_elementRef?:·RefObject<HTMLElement·|·null>⏎····`
Test (ubuntu-latest, 16)
Process completed with exit code 1.
Test (macos-latest, 16)
Process completed with exit code 1.
Test (macos-latest, 16)
The strategy configuration was canceled because "test.ubuntu-latest_16" failed
Test (ubuntu-latest, 12)
Process completed with exit code 1.
Test (ubuntu-latest, 12)
The strategy configuration was canceled because "test.ubuntu-latest_16" failed
Test (macos-latest, 14)
The operation was canceled.
Test (macos-latest, 14)
The strategy configuration was canceled because "test.ubuntu-latest_16" failed
Test (ubuntu-latest, 14)
The operation was canceled.
Test (ubuntu-latest, 14)
The strategy configuration was canceled because "test.ubuntu-latest_16" failed
Lint: src/useCopyToClipboard.ts#L65
React Hook useCallback has missing dependencies: 'isMounted' and 'setState'. Either include them or remove the dependency array
Lint: src/useBattery.ts#L78
React Hook useEffect has a missing dependency: 'state'. Either include it or remove the dependency array
Lint: 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
Lint: 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
Lint: 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
Lint: src/factory/createRouter.ts#L16
'Router' is assigned a value but never used
Lint: src/factory/createMemo.ts#L6
React Hook useMemo has a missing dependency: 'args'. Either include it or remove the dependency array
Lint: 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
Lint: src/factory/createHTMLMediaHook.ts#L238
React Hook useEffect has missing dependencies: 'controls', 'props.autoPlay', and 'setState'. Either include them or remove the dependency array
Lint: 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