fix: Return Unauthorized for /user endpoint APIs if session is anonym… #685
ci-lint.yml
on: push
CI linter for js/ts
3m 23s
CI linter for go
1m 17s
Annotations
12 warnings
CI linter for go
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-go@v4, golangci/golangci-lint-action@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
CI linter for js/ts
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/.
|
CI linter for js/ts:
web/src/cde/components/CreateGitspace/components/SelectRepository/SelectRepository.tsx#L154
Unexpected any. Specify a different type
|
CI linter for js/ts:
web/src/cde/components/GitspaceSelect/GitspaceSelect.tsx#L75
React Hook useEffect has an unnecessary dependency: 'buttonRef.current'. Either exclude it or remove the dependency array. Mutable values like 'buttonRef.current' aren't valid dependencies because mutating them doesn't re-render the component
|
CI linter for js/ts:
web/src/cde/pages/GitspaceDetail/GitspaceDetail.tsx#L91
React Hook useEffect has missing dependencies: 'mutate', 'refetch', 'refetchLogs', and 'showError'. Either include them or remove the dependency array
|
CI linter for js/ts:
web/src/cde/pages/GitspacesListing/GitspacesListing.tsx#L61
React Hook useEffect has missing dependencies: 'history', 'routes', and 'space'. Either include them or remove the dependency array
|
CI linter for js/ts:
web/src/components/Changes/ReviewSplitButton/ReviewSplitButton.tsx#L62
Unexpected any. Specify a different type
|
CI linter for js/ts:
web/src/components/Changes/ReviewSplitButton/ReviewSplitButton.tsx#L93
React Hook useEffect has missing dependencies: 'currentUser.uid' and 'determineOverallDecision'. Either include them or remove the dependency array
|
CI linter for js/ts:
web/src/components/Changes/ReviewSplitButton/ReviewSplitButton.tsx#L128
React Hook useCallback has a missing dependency: 'updateReviewers'. Either include it or remove the dependency array
|
CI linter for js/ts:
web/src/components/CodeSearch/CodeSearch.tsx#L73
React Hook useCallback has a missing dependency: 'space'. Either include it or remove the dependency array
|
CI linter for js/ts:
web/src/components/CodeSearch/CodeSearch.tsx#L91
React Hook useCallback has missing dependencies: 'keywordSearchSampleQueries' and 'semanticSearchSampleQueries'. Either include them or remove the dependency array
|
CI linter for js/ts:
web/src/components/CodeSearch/KeywordSearch.tsx#L69
React Hook useCallback has a missing dependency: 'space'. Either include it or remove the dependency array
|