(ci/cd) publish to npm #19
Annotations
2 errors and 5 warnings
src/haveGamepadEvents.ts#L4
Replace `·(typeof·window·!==·'undefined')·&&·('ongamepadconnected'·in·window)` with `⏎··typeof·window·!==·'undefined'·&&·'ongamepadconnected'·in·window`
|
|
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
src/GamepadContext.tsx#L27
React Hook useCallback has an unnecessary dependency: 'gamepads'. Either exclude it or remove the dependency array
|
src/GamepadContext.tsx#L77
React Hook useCallback has an unnecessary dependency: 'haveGamepadEvents'. Either exclude it or remove the dependency array. Outer scope values like 'haveGamepadEvents' aren't valid dependencies because mutating them doesn't re-render the component
|
src/useGamepads.ts#L56
React Hook useEffect has a missing dependency: 'connectGamepadHandler'. Either include it or remove the dependency array
|
src/useGamepads.ts#L69
React Hook useEffect has a missing dependency: 'update'. Either include it or remove the dependency array
|
This job failed
Loading