Skip to content

Remove all eslint comments disabling no-restricted-imports from miniflare#13164

Merged
dario-piotrowicz merged 2 commits intomainfrom
dario/remove-eslint-disable-no-restircted-imports-from-miniflare
Apr 1, 2026
Merged

Remove all eslint comments disabling no-restricted-imports from miniflare#13164
dario-piotrowicz merged 2 commits intomainfrom
dario/remove-eslint-disable-no-restircted-imports-from-miniflare

Conversation

@dario-piotrowicz
Copy link
Copy Markdown
Member

@dario-piotrowicz dario-piotrowicz commented Apr 1, 2026

Removal of comments such as:

// eslint-disable-next-line no-restricted-imports

In the miniflare package

Continuation from #13140 and #13149


  • Tests
    • Tests included/updated
    • Automated tests not possible - manual testing has been completed as follows:
    • Additional testing not necessary because:
  • Public documentation
    • Cloudflare docs PR(s):
    • Documentation not necessary because: internal refactoring

A picture of a cute animal (not mandatory, but encouraged)


Open with Devin

@changeset-bot
Copy link
Copy Markdown

changeset-bot bot commented Apr 1, 2026

⚠️ No Changeset found

Latest commit: 796e373

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@ask-bonk
Copy link
Copy Markdown
Contributor

ask-bonk bot commented Apr 1, 2026

UnknownError: ProviderInitError

github run

@ask-bonk
Copy link
Copy Markdown
Contributor

ask-bonk bot commented Apr 1, 2026

@dario-piotrowicz Bonk workflow failed. Check the logs for details.

View workflow run · To retry, trigger Bonk again.

@pkg-pr-new
Copy link
Copy Markdown

pkg-pr-new bot commented Apr 1, 2026

create-cloudflare

npm i https://pkg.pr.new/create-cloudflare@13164

@cloudflare/kv-asset-handler

npm i https://pkg.pr.new/@cloudflare/kv-asset-handler@13164

miniflare

npm i https://pkg.pr.new/miniflare@13164

@cloudflare/pages-shared

npm i https://pkg.pr.new/@cloudflare/pages-shared@13164

@cloudflare/unenv-preset

npm i https://pkg.pr.new/@cloudflare/unenv-preset@13164

@cloudflare/vite-plugin

npm i https://pkg.pr.new/@cloudflare/vite-plugin@13164

@cloudflare/vitest-pool-workers

npm i https://pkg.pr.new/@cloudflare/vitest-pool-workers@13164

@cloudflare/workers-editor-shared

npm i https://pkg.pr.new/@cloudflare/workers-editor-shared@13164

wrangler

npm i https://pkg.pr.new/wrangler@13164

commit: 796e373

@ask-bonk
Copy link
Copy Markdown
Contributor

ask-bonk bot commented Apr 1, 2026

UnknownError: ProviderInitError

github run

@dario-piotrowicz dario-piotrowicz marked this pull request as ready for review April 1, 2026 09:58
@dario-piotrowicz dario-piotrowicz requested review from a team as code owners April 1, 2026 09:58
@workers-devprod
Copy link
Copy Markdown
Contributor

workers-devprod commented Apr 1, 2026

Codeowners approval required for this PR:

  • @cloudflare/workers-kv
  • ✅ @cloudflare/wrangler
Show detailed file reviewers
  • packages/miniflare/test/plugins/kv/index.spec.ts: [@cloudflare/workers-kv]
  • packages/miniflare/test/plugins/kv/sites.spec.ts: [@cloudflare/workers-kv]

Copy link
Copy Markdown
Contributor

@devin-ai-integration devin-ai-integration bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ Devin Review: No Issues Found

Devin Review analyzed this PR and found no potential bugs to report.

View in Devin Review to see 1 additional finding.

Open in Devin Review

Copy link
Copy Markdown
Contributor

@petebacondarwin petebacondarwin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A few type import modifiers missing but otherwise LGTM

Comment thread packages/miniflare/test/plugins/kv/sites.spec.ts Outdated
Comment thread packages/miniflare/test/plugins/kv/index.spec.ts Outdated
Comment thread packages/miniflare/test/plugins/r2/index.spec.ts Outdated
@github-project-automation github-project-automation bot moved this from Untriaged to Approved in workers-sdk Apr 1, 2026
Co-authored-by: Pete Bacon Darwin <pete@bacondarwin.com>
@dario-piotrowicz
Copy link
Copy Markdown
Member Author

Thanks for catching those @petebacondarwin! 🫶 (I relied on vscode's automatically adding the import there and missed these 😓)

I'm actually surprised that the missing modifier didn't trigger a lint error... I was pretty sure we had one set up for this 🤔

@dario-piotrowicz
Copy link
Copy Markdown
Member Author

I'm actually surprised that the missing modifier didn't trigger a lint error... I was pretty sure we had one set up for this 🤔

oh...

"@typescript-eslint/consistent-type-imports": "off",

@dario-piotrowicz
Copy link
Copy Markdown
Member Author

I'm actually surprised that the missing modifier didn't trigger a lint error... I was pretty sure we had one set up for this 🤔

oh...

"@typescript-eslint/consistent-type-imports": "off",

#13183 🙂

@dario-piotrowicz dario-piotrowicz merged commit 1c255d0 into main Apr 1, 2026
46 of 47 checks passed
@dario-piotrowicz dario-piotrowicz deleted the dario/remove-eslint-disable-no-restircted-imports-from-miniflare branch April 1, 2026 10:47
@github-project-automation github-project-automation bot moved this from Approved to Done in workers-sdk Apr 1, 2026
emily-shen pushed a commit that referenced this pull request Apr 8, 2026
…iflare (#13164)

Co-authored-by: Pete Bacon Darwin <pete@bacondarwin.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants