migrate-oxlint-config

Installation
SKILL.md

Migrate to @cloudflare/oxlint-config

Commit a passing baseline

  1. Run the project's current lint command to establish its baseline. Adopt the preset using the setup for the project's lint command in the package README. Use @cloudflare/oxlint-config with standalone Oxlint or @cloudflare/oxlint-config/vite-plus with vp lint. Update the project's lint command and CI where needed. Carry forward applicable project rules, ignore patterns, environments, and file overrides. Keep the project's type-check command. If the old preset ran the compiler in CI, preserve that coverage with a separate type-check command or options.typeCheck: true.
  2. Run the project's lint command with the new preset across the same files checked in CI. Temporarily set each newly failing rule to 'off' in the project config. This may disable most of the preset in a large migration. Keep the rest enabled. For example, add 'typescript/no-unsafe-assignment': 'off' to rules in oxlint.config.ts or to lint.rules in a Vite+ project's vite.config.ts.
Installs
9
GitHub Stars
242
First Seen
9 days ago