Skip to content

Frontend Linter 546/merge by @aadereiko #97

Frontend Linter 546/merge by @aadereiko

Frontend Linter 546/merge by @aadereiko #97

Triggered via pull request November 6, 2024 11:30
Status Failure
Total duration 42s
Artifacts

frontend_linter.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

1 error and 11 warnings
lint
Process completed with exit code 1.
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: apps/opik-frontend/src/components/pages/PromptPage/PromptTab/CommitsTab.tsx#L89
React Hook useCallback has missing dependencies: 'navigate' and 'workspaceName'. Either include them or remove the dependency array
lint: apps/opik-frontend/src/components/pages/PromptPage/PromptTab/EditPromptDialog.tsx#L50
Classname 'smax-w-lg' is not a Tailwind CSS class!
lint: apps/opik-frontend/src/components/pages/PromptPage/PromptTab/EditPromptDialog.tsx#L60
Classnames 'pt-4, pb-4' could be replaced by the 'py-4' shorthand!
lint: apps/opik-frontend/src/components/pages/PromptPage/PromptTab/PromptTab.tsx#L63
React Hook useEffect has a missing dependency: 'setActiveVersionId'. Either include it or remove the dependency array
lint: apps/opik-frontend/src/components/pages/PromptPage/PromptTab/PromptTab.tsx#L69
React Hook useEffect has a missing dependency: 'setActiveVersionId'. Either include it or remove the dependency array