Skip to content

Remove lint consistent-type-imports override (to off) for miniflare#13183

Open
dario-piotrowicz wants to merge 1 commit intomainfrom
dario/enable-consistent-type-imports-in-miniflare
Open

Remove lint consistent-type-imports override (to off) for miniflare#13183
dario-piotrowicz wants to merge 1 commit intomainfrom
dario/enable-consistent-type-imports-in-miniflare

Conversation

@dario-piotrowicz
Copy link
Copy Markdown
Member

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

We have a set of lint overrides for miniflare that we should get rid of:

// TODO: remove these overrides. This is a legacy of Miniflare's history, not intentional

I think it makes sense to try to gradually get rid of those instead of trying to remove them all in one go.

In this PR I am getting rid of the consistent-type-imports one, re-aligning miniflare with the rest of the codebase.


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

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


Open with Devin

@dario-piotrowicz dario-piotrowicz requested review from a team as code owners April 1, 2026 10:30
@dario-piotrowicz dario-piotrowicz requested a review from vicb April 1, 2026 10:30
@changeset-bot
Copy link
Copy Markdown

changeset-bot bot commented Apr 1, 2026

⚠️ No Changeset found

Latest commit: dd441ff

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

@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/src/workers/kv/constants.ts: [@cloudflare/workers-kv]
  • packages/miniflare/src/workers/kv/namespace.worker.ts: [@cloudflare/workers-kv]
  • packages/miniflare/src/workers/kv/sites.worker.ts: [@cloudflare/workers-kv]
  • packages/miniflare/test/plugins/kv/index.spec.ts: [@cloudflare/workers-kv]

@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@13183

@cloudflare/kv-asset-handler

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

miniflare

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

@cloudflare/pages-shared

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

@cloudflare/unenv-preset

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

@cloudflare/vite-plugin

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

@cloudflare/vitest-pool-workers

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

@cloudflare/workers-editor-shared

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

wrangler

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

commit: dd441ff

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 5 additional findings.

Open in Devin Review

@dario-piotrowicz dario-piotrowicz force-pushed the dario/enable-consistent-type-imports-in-miniflare branch from 2f0d3d1 to 71de9d6 Compare April 1, 2026 10:37
devin-ai-integration[bot]

This comment was marked as resolved.

@dario-piotrowicz dario-piotrowicz force-pushed the dario/enable-consistent-type-imports-in-miniflare branch from 71de9d6 to b8dbc46 Compare April 1, 2026 11:00
Copy link
Copy Markdown
Contributor

@penalosa penalosa left a comment

Choose a reason for hiding this comment

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

Only a skim review, seems completely mechanical

@petebacondarwin petebacondarwin force-pushed the dario/enable-consistent-type-imports-in-miniflare branch from b8dbc46 to d8ce8e2 Compare April 1, 2026 15:06
@dario-piotrowicz dario-piotrowicz force-pushed the dario/enable-consistent-type-imports-in-miniflare branch from d8ce8e2 to dd441ff Compare April 2, 2026 09:48
@dario-piotrowicz
Copy link
Copy Markdown
Member Author

For some reason the devprod bot is not approving the PR... I've copied this PR to #13250 hoping that the bot might work there 😖

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

Projects

Status: Untriaged

Development

Successfully merging this pull request may close these issues.

4 participants