Skip to content

Bounty: Dead Code Cleanup and Code Formatting (React) - #93

Open
Ahmadkhattak1 wants to merge 2 commits into
Kleo-Network:productionfrom
Ahmadkhattak1:bounty-dead-code-cleanup
Open

Bounty: Dead Code Cleanup and Code Formatting (React)#93
Ahmadkhattak1 wants to merge 2 commits into
Kleo-Network:productionfrom
Ahmadkhattak1:bounty-dead-code-cleanup

Conversation

@Ahmadkhattak1

@Ahmadkhattak1 Ahmadkhattak1 commented May 13, 2026

Copy link
Copy Markdown

Summary

  • Ran Prettier across the JavaScript/TypeScript codebase and cleaned up lint-reported dead code.
  • Removed unused imports, props, locals, a duplicate Tailwind config key, an unused YouTube helper, and stale commented login code.
  • Added narrow browser/API response types so ESLint is fully clean without suppressing rules.
  • Kept behavior unchanged while reducing lint noise from unused code and explicit any usage.

How dead code was identified

  • Ran ESLint and targeted @typescript-eslint/no-unused-vars findings.
  • Searched for redundant helpers/imports with rg before removing them.
  • Re-ran lint after cleanup to verify no dead-code errors remained.

Verification

  • npm run lint (0 errors, 0 warnings)
  • npm test -- --run
  • npm run build

Bounty payout

If this PR is accepted for #55, payout can be sent through Stripe here: https://buy.stripe.com/00w5kDdw2eUPakO5wK0sU03

@Ahmadkhattak1

Ahmadkhattak1 commented May 13, 2026

Copy link
Copy Markdown
Author

Verification remains green on this scoped cleanup: npm run lint, npm test -- --run, and npm run build all pass locally. Happy to adjust anything the maintainers want tightened before merge.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant