Skip to content

🧹 refactor: Replace eslint disable with unused variable convention - #22

Merged
Shreyassp002 merged 1 commit into
mainfrom
fix-unused-variable-873320628204842608
Apr 6, 2026
Merged

Shreyassp002 merged 1 commit into
mainfrom
fix-unused-variable-873320628204842608

Conversation

@Shreyassp002

Copy link
Copy Markdown
Member

🎯 What: Removed the // eslint-disable-next-line @typescript-eslint/no-unused-vars comment and aliased the payment_links property to _payment_links during object destructuring in src/app/api/transactions/[id]/route.ts.

💡 Why: This leverages TypeScript/ESLint conventions allowing unused variables to be prefixed with an underscore to ignore them, eliminating the need for inline ESLint disable comments.

✅ Verification: Verified by executing npm run lint and npm run test, ensuring no linting issues remain for this variable and tests are still passing.

✨ Result: Improved codebase cleanliness and maintainability by utilizing standard patterns over suppression comments.


PR created automatically by Jules for task 873320628204842608 started by @Shreyassp002

…derscore

Co-authored-by: Shreyassp002 <96625037+Shreyassp002@users.noreply.github.com>
@vercel

vercel Bot commented Apr 4, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
flash-protocol Ready Ready Preview, Comment Apr 4, 2026 6:45am

@github-actions

github-actions Bot commented Apr 4, 2026

Copy link
Copy Markdown

⚡ Flash Review

Metric Value
Files Reviewed 1
Risk Level 🟢 Low
Issues Found None

✅ This PR looks clean. No security issues, bugs, or significant improvements found.


⚡ Powered by Flash Review

@Shreyassp002
Shreyassp002 merged commit be6d609 into main Apr 6, 2026
4 checks passed

This branch was successfully deployed

1 active deployment
Preview — df5b0c86 Deployed Apr 4, 2026 by vercel[bot]
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