Partially rollback changes from #385 since they are breaking post auto-collapse #945
Annotations
14 warnings
build-lint (backend)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-node@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
build-lint (backend)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, actions/setup-node@v1, 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/
|
build-lint (frontend)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-node@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
build-lint (frontend)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, actions/setup-node@v1, 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/
|
build-lint (frontend):
frontend/src/API/use/useFeed.ts#L123
React Hook useEffect has missing dependencies: 'api.userAPI', 'setCachedPosts', and 'setSorting'. Either include them or remove the dependency array. If 'setSorting' changes too often, find the parent component that defines it and wrap that definition in useCallback
|
build-lint (frontend):
frontend/src/API/use/usePost.ts#L173
React Hook useMemo has missing dependencies: 'setCachedComments' and 'updatePost'. Either include them or remove the dependency array
|
build-lint (frontend):
frontend/src/API/use/usePost.ts#L207
React Hook useEffect has a missing dependency: 'appState.cache'. Either include it or remove the dependency array
|
build-lint (frontend):
frontend/src/API/use/useUserProfile.ts#L49
React Hook useEffect has a missing dependency: 'refresh'. Either include it or remove the dependency array
|
build-lint (frontend):
frontend/src/App.tsx#L94
Unexpected mix of '&&' and '||'. Use parentheses to clarify the intended order of operations
|
build-lint (frontend):
frontend/src/App.tsx#L94
Unexpected mix of '&&' and '||'. Use parentheses to clarify the intended order of operations
|
build-lint (frontend):
frontend/src/App.tsx#L94
Unexpected mix of '||' and '&&'. Use parentheses to clarify the intended order of operations
|
build-lint (frontend):
frontend/src/App.tsx#L95
Unexpected mix of '||' and '&&'. Use parentheses to clarify the intended order of operations
|
build-lint (frontend):
frontend/src/Components/CommentComponent.tsx#L171
React Hook useEffect has a missing dependency: 'setAltContent'. Either include it or remove the dependency array. If 'setAltContent' changes too often, find the parent component that defines it and wrap that definition in useCallback
|
build-lint (frontend):
frontend/src/Components/ContentComponent.tsx#L456
Unexpected mix of '||' and '&&'. Use parentheses to clarify the intended order of operations
|