Skip to content
This repository was archived by the owner on Apr 28, 2026. It is now read-only.

[FIX] All Lint Warnings (Currently 9) - #809

Closed
naman9271 wants to merge 0 commit into
kubestellar:devfrom
naman9271:fix-lint
Closed

naman9271 wants to merge 0 commit into
kubestellar:devfrom
naman9271:fix-lint

Conversation

@naman9271

@naman9271 naman9271 commented May 17, 2025 •

Copy link
Copy Markdown
Contributor

Fixes #800

Description

This PR fixes all 9 existing ESLint warnings in the codebase to ensure clean and consistent code. The changes include wrapping functions in useCallback and useMemo to fix hook dependency issues, removing an unused eslint-disable directive, separating shared constants to avoid fast-refresh warnings, and adding a missing dependency in a useEffect hook. After these fixes, running npm run lint (or yarn lint) now shows zero warnings. These improvements help maintain code quality and prevent potential runtime issues.

@naman9271
naman9271 marked this pull request as draft May 17, 2025 15:55
@naman9271
naman9271 marked this pull request as ready for review May 17, 2025 16:35
@naman9271

Copy link
Copy Markdown
Contributor Author

hey @manzil-infinity180 @btwshivam PTAL !! i ahve fixed all errors and warnings

@btwshivam

Copy link
Copy Markdown
Contributor

@kunal-511 @onkar717 Please take a look

@naman9271 fix conflict

@naman9271

Copy link
Copy Markdown
Contributor Author

@btwshivam Please review i have fixed it

@kunal-511

Copy link
Copy Markdown
Contributor

image
@MAVRICK-1 @manzil-infinity180 /lgtm

@btwshivam

Copy link
Copy Markdown
Contributor

@kunal-511 lint warning is fixed but review the code if something changed unnecessary especially in BP.

@kunal-511

Copy link
Copy Markdown
Contributor

@kunal-511 lint warning is fixed but review the code if something changed unnecessary especially in BP.

Bp looks fine

@btwshivam

Copy link
Copy Markdown
Contributor

\lgtm

@kunal-511

Copy link
Copy Markdown
Contributor

@naman9271 Solve he merge conflicts because the heavy weight has been merge successfully #825

@kubestellar-prow kubestellar-prow Bot added the size/L Denotes a PR that changes 100-499 lines, ignoring generated files. label May 18, 2025
@naman9271 naman9271 closed this May 18, 2025
@github-project-automation github-project-automation Bot moved this from In Progress to Done in KubeStellar UI Project May 18, 2025
@kubestellar-prow

Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@kubestellar-prow kubestellar-prow Bot added size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. and removed size/L Denotes a PR that changes 100-499 lines, ignoring generated files. labels May 18, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

frontend size/XS Denotes a PR that changes 0-9 lines, ignoring generated files.

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

[Bug]: Fix All Lint Warnings (Currently 9)

3 participants