Skip to content

Adopt @cloudflare/oxlint-config - #23

Open
cpojer wants to merge 22 commits into
cloudflare:mainfrom
cpojer:adopt-cloudflare-oxlint
Open

cpojer wants to merge 22 commits into
cloudflare:mainfrom
cpojer:adopt-cloudflare-oxlint

Conversation

@cpojer

@cpojer cpojer commented Nov 20, 2026

Copy link
Copy Markdown
Member

We are working on standardizing open source and internal linting config through @cloudflare/oxlint-config. This PR adopts the config and fixes up all errors.

The shared preset applies to src. The lint script also checks the standalone examples using oxlint.examples.json. The source config documents scoped exceptions for Worker logging, dynamic secret bindings, and assertions at platform type boundaries.

Verified on Node.js 24 with a frozen pnpm install, lint, type checking, formatting, build, and 106 tests. Lint reports zero errors and two warnings.

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