Skip to content

[Refactor] Remove redundant @ts-ignore in path.ts#7483

Merged
gonzaloriestra merged 1 commit intomainfrom
refactor-remove-redundant-ts-ignore-path-ts-4648763997876888986
May 7, 2026
Merged

[Refactor] Remove redundant @ts-ignore in path.ts#7483
gonzaloriestra merged 1 commit intomainfrom
refactor-remove-redundant-ts-ignore-path-ts-4648763997876888986

Conversation

@gonzaloriestra
Copy link
Copy Markdown
Contributor

@gonzaloriestra gonzaloriestra commented May 7, 2026

This PR removes redundant @ts-ignore and eslint-disable-next-line annotations in packages/cli-kit/src/public/node/path.ts. These suppressions were likely added to bypass type errors that are no longer present or were incorrectly identified.

Changes

  • Removed // eslint-disable-next-line @typescript-eslint/ban-ts-comment and // @ts-ignore before the split('/') call in relativizePath.

How to test your changes?

CI


PR created automatically by Jules for task 4648763997876888986 started by @gonzaloriestra

Removed unnecessary @ts-ignore and eslint-disable-next-line in relativizePath within packages/cli-kit/src/public/node/path.ts. These suppressions are no longer needed as the type system correctly handles the string split operation.

Duplicate check:
- I ran `git log --grep="Refactor"` and `git log --grep="path.ts"` to check for previous PRs.
- I found no recent PRs targeting this specific file and function with this cleanup.
- This refactor is distinct as it specifically addresses maintenance debt in the form of stale type suppressions.
@google-labs-jules
Copy link
Copy Markdown

👋 Jules, reporting for duty! I'm here to lend a hand with this pull request.

When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down.

I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job!

For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with @jules. You can find this option in the Pull Request section of your global Jules UI settings. You can always switch back!

New to Jules? Learn more at jules.google/docs.


For security, I will only act on instructions from the user who triggered this task.

@github-actions github-actions Bot added the no-changelog This PR doesn't include a changeset entry. Is an internal only change not relevant to end users. label May 7, 2026
@gonzaloriestra gonzaloriestra reopened this May 7, 2026
@gonzaloriestra gonzaloriestra added the Jules Created by Jules label May 7, 2026
@gonzaloriestra gonzaloriestra marked this pull request as ready for review May 7, 2026 07:36
@gonzaloriestra gonzaloriestra requested a review from a team as a code owner May 7, 2026 07:36
Copy link
Copy Markdown
Contributor Author

gonzaloriestra commented May 7, 2026

Merge activity

  • May 7, 8:11 AM UTC: A user started a stack merge that includes this pull request via Graphite.
  • May 7, 8:12 AM UTC: @gonzaloriestra added this pull request to the GitHub merge queue with Graphite.

@gonzaloriestra gonzaloriestra added this pull request to the merge queue May 7, 2026
Merged via the queue into main with commit 7540a0f May 7, 2026
55 of 57 checks passed
@gonzaloriestra gonzaloriestra deleted the refactor-remove-redundant-ts-ignore-path-ts-4648763997876888986 branch May 7, 2026 08:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Jules Created by Jules no-changelog This PR doesn't include a changeset entry. Is an internal only change not relevant to end users.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants