Skip to content

lint 오류 해결

lint 오류 해결 #32

Triggered via pull request November 14, 2024 07:25
Status Failure
Total duration 1m 13s
Artifacts

ci-pipeline.yml

on: pull_request
setup-backend
14s
setup-backend
setup-frontend
10s
setup-frontend
backend-build
12s
backend-build
backend-lint
20s
backend-lint
frontend-lint
12s
frontend-lint
frontend-build
21s
frontend-build
backend-test
20s
backend-test
Fit to window
Zoom out
Zoom in

Annotations

1 error and 17 warnings
backend-test
Process completed with exit code 1.
setup-frontend
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3, actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
setup-backend
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3, actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
frontend-lint
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3, actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
frontend-lint: frontend/src/components/EditorView.tsx#L21
React Hook useMemo has an unnecessary dependency: 'currentPage'. Either exclude it or remove the dependency array
frontend-lint: frontend/src/components/EditorView.tsx#L29
React Hook useMemo has a missing dependency: 'ydoc'. Either include it or remove the dependency array
frontend-lint: frontend/src/components/canvas/index.tsx#L57
React Hook useEffect has a missing dependency: 'ydoc'. Either include it or remove the dependency array
frontend-lint: frontend/src/components/canvas/index.tsx#L108
React Hook useEffect has missing dependencies: 'setEdges' and 'setNodes'. Either include them or remove the dependency array
frontend-lint: frontend/src/components/canvas/index.tsx#L140
React Hook useEffect has a missing dependency: 'ydoc'. Either include it or remove the dependency array
frontend-lint: frontend/src/components/canvas/index.tsx#L162
React Hook useCallback has a missing dependency: 'ydoc'. Either include it or remove the dependency array
frontend-lint: frontend/src/components/canvas/index.tsx#L178
React Hook useCallback has a missing dependency: 'ydoc'. Either include it or remove the dependency array
frontend-lint: frontend/src/components/canvas/index.tsx#L196
React Hook useCallback has a missing dependency: 'ydoc'. Either include it or remove the dependency array
frontend-lint: frontend/src/components/editor/selectors/link-selector.tsx#L10
Fast refresh only works when a file only exports components. Use a new file to share constants or functions between components
frontend-lint: frontend/src/components/editor/selectors/link-selector.tsx#L18
Fast refresh only works when a file only exports components. Use a new file to share constants or functions between components
backend-build
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3, actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
frontend-build
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3, actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
backend-lint
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3, actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
backend-test
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3, actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/