Skip to content

Ci formatting and linting#26585

Merged
gambinish merged 1 commit into
perps/fix/stuck-pending-withdraw-4from
cursor/ci-formatting-and-linting-89e4
Feb 25, 2026
Merged

Ci formatting and linting#26585
gambinish merged 1 commit into
perps/fix/stuck-pending-withdraw-4from
cursor/ci-formatting-and-linting-89e4

Conversation

@gambinish

@gambinish gambinish commented Feb 25, 2026

Copy link
Copy Markdown
Member

Fixes yarn format:check by correcting an import statement in useWithdrawalRequests.test.ts.

Other yarn lint:tsc and yarn lint failures were due to local setup not mirroring CI (missing patches and generated files), which are resolved by running the CI setup script. The only actual code change required was this formatting fix.


Open in Web Open in Cursor 


Note

Low Risk
Formatting-only change in a test file with no production logic impact.

Overview
Fixes CI formatting by changing the @metamask/perps-controller type-only import in useWithdrawalRequests.test.ts from a single-line import to a multi-line, lint-compliant form.

No runtime or behavioral changes; this is a test-file formatting-only update intended to satisfy yarn format:check.

Written by Cursor Bugbot for commit da201ab. This will update automatically on new commits. Configure here.

Fix Prettier formatting issue in the import statement for
PerpsControllerState and UserHistoryItem types from
@metamask/perps-controller. The import was on a single line with
an extra space before the comma, which violated Prettier's
formatting rules.

Co-authored-by: Nick Gambino <gambinish@users.noreply.github.com>
@cursor

cursor Bot commented Feb 25, 2026

Copy link
Copy Markdown
Contributor

Cursor Agent can help with this pull request. Just @cursor in comments and I'll start working on changes in this branch.
Learn more about Cursor Agents

@metamaskbot metamaskbot added the team-perps Perps team label Feb 25, 2026
@github-actions

Copy link
Copy Markdown
Contributor

🔍 Smart E2E Test Selection

⏭️ Smart E2E selection skipped - base branch is not main (base: perps/fix/stuck-pending-withdraw-4)

All E2E tests pre-selected.

View GitHub Actions results

@gambinish gambinish marked this pull request as ready for review February 25, 2026 18:38
@gambinish gambinish requested a review from a team as a code owner February 25, 2026 18:38
@gambinish gambinish merged commit c2c3d50 into perps/fix/stuck-pending-withdraw-4 Feb 25, 2026
103 of 108 checks passed
@gambinish gambinish deleted the cursor/ci-formatting-and-linting-89e4 branch February 25, 2026 18:38
@github-actions github-actions Bot locked and limited conversation to collaborators Feb 25, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants