Skip to content

feat: Videojs POC #6100

feat: Videojs POC

feat: Videojs POC #6100

Triggered via pull request November 21, 2024 14:50
Status Failure
Total duration 2m 19s
Artifacts

push.yml

on: pull_request
Matrix: lint
Fit to window
Zoom out
Zoom in

Annotations

11 errors and 7 warnings
format
Process completed with exit code 1.
lint (lint): packages/gamut/src/VideoPlayer/Videojs.tsx#L1
Run autofix to sort these imports!
lint (lint): packages/gamut/src/VideoPlayer/Videojs.tsx#L44
React Hook React.useEffect has a missing dependency: 'props'. Either include it or remove the dependency array
lint (lint): packages/gamut/src/VideoPlayer/index.tsx#L1
Run autofix to sort these imports!
lint (lint): packages/gamut/src/VideoPlayer/utils/initializeEventListeners.ts#L1
Expected 1 empty line after import statement not followed by another import
lint (lint): packages/gamut/src/VideoPlayer/utils/initializeEventListeners.ts#L3
Type number trivially inferred from a number literal, remove type annotation
lint (lint): packages/gamut/src/VideoPlayer/utils/initializeEventListeners.ts#L4
Type number trivially inferred from a number literal, remove type annotation
lint (lint): packages/gamut/src/VideoPlayer/utils/initializeEventListeners.ts#L5
Type number trivially inferred from a number literal, remove type annotation
lint (lint): packages/gamut/src/VideoPlayer/utils/initializeEventListeners.ts#L8
Expected an assignment or function call and instead saw an expression
lint (lint): packages/gamut/src/VideoPlayer/utils/initializeEventListeners.ts#L8
Prefer using an optional chain expression instead, as it's more concise and easier to read
format
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
lint (verify)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
lint (lint)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
lint (lint): packages/gamut/src/VideoPlayer/Videojs.tsx#L13
'onReady' is defined but never used