-
Notifications
You must be signed in to change notification settings - Fork 14
[OGUI-1779] Linting for backend #3093
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: dev
Are you sure you want to change the base?
Conversation
…sending connections in ConnectionManager
The most important changes: - header with changing label using context API - sidebar for whole app - navbar element for different pages.
…liceO2Group/WebUi into feature/TKN/OGUI-1703/basic-typescript-interfaces
…liceO2Group/WebUi into feature/TKN/OGUI-1703/basic-typescript-interfaces
…ithub.com:AliceO2Group/WebUi into feature/TKN/OGUI-1704/data-serialization-utils
…ub.com:AliceO2Group/WebUi into feature/TKN/OGUI-1705/client-central-basic-stream
…t, function or class Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
…ges to be included in dev branch)
…/TKN/OGUI-1725/session-checking
…ithub.com:AliceO2Group/WebUi into feature/TKN/OGUI-1755/secure-connections-with-certificates
…t, function or class Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
…o the auth interceptor
…en-validation-for-p2p-connections' into feature/TKN/OGUI-1779/github-actions-for-backend
…r linting and testing wrapper directory code
| DuplexMessageEvent, | ||
| } from "../../models/message.model"; | ||
| import { ConnectionStatus } from "../../models/connection.model"; | ||
| import * as fs from "fs"; |
Check notice
Code scanning / CodeQL
Unused variable, import, function or class Note
Show autofix suggestion
Hide autofix suggestion
Copilot Autofix
AI 3 months ago
The optimal way to fix this issue is to remove the unused import statement for fs from the code. This will improve code readability and potentially reduce overhead by not importing a module that is not referenced anywhere. To apply the fix, simply delete the line import * as fs from "fs"; (line 27 in the provided code) from Tokenization/backend/wrapper/src/client/ConnectionManager/ConnectionManager.ts. No further changes or additional dependencies are required.
| @@ -24,7 +24,6 @@ | ||
| DuplexMessageEvent, | ||
| } from "../../models/message.model"; | ||
| import { ConnectionStatus } from "../../models/connection.model"; | ||
| import * as fs from "fs"; | ||
| import { gRPCAuthInterceptor } from "./Interceptors/grpc.auth.interceptor"; | ||
| import { SecurityContext } from "../../utils/security/SecurityContext"; | ||
|
|
I DON'T have JIRA ticket
I have JIRA issue created