migrate-oxlint

Migrate ESLint configurations to Oxlint and generate .oxlintrc.json.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/andreasasprou/polaris --skill migrate-oxlint-andreasasprou
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: migrate-oxlint
Source: https://github.com/andreasasprou/polaris/tree/main/.agents/skills/migrate-oxlint
Command: npx skills add https://github.com/andreasasprou/polaris --skill migrate-oxlint-andreasasprou

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill guides teams in replacing ESLint with Oxlint across JavaScript/TypeScript projects, simplifying migration of configs, plugins, and rules.

Core Features & Use Cases

  • Automated migration of ESLint config files to Oxlint format (.oxlintrc.json)
  • Guidance for mapping ESLint plugins to Oxlint equivalents and handling plugins without direct mappings
  • Option-aware migration including --type-aware, --with-nursery, and --details with a dry-run style overview
  • Use Case: Upgrading a repository to adopt Oxlint gradually while preserving existing lint behavior

Quick Start

Run the migration tool from the project root to generate the Oxlint config.

Frequently Asked Questions about migrate-oxlint

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I migrate ESLint config to Oxlint in a TypeScript project?

To migrate an ESLint config to Oxlint, use a migration tool that reads your existing eslint.config.js and outputs a ready .oxlintrc.json file. It maps plugins and rules while validating options like --type-aware and --with-nursery for a smooth linting transition.

Can I preserve my ESLint plugins and rules when switching to Oxlint?

Yes, switching to Oxlint guides mapping ESLint plugins to Oxlint equivalents and handles plugins without direct mappings. It translates your existing rule configurations into the .oxlintrc.json format, preserving your lint behavior during the transition.

What is the best way to handle eslint.config.js migration for a monorepo?

Handling eslint.config.js migration for a monorepo involves generating a unified .oxlintrc.json file that accommodates your project structure. The migration process includes a dry-run style overview to validate rule mappings and options before applying changes.

Does Oxlint migration support type-aware linting rules from ESLint?

Oxlint migration supports type-aware linting by validating the --type-aware option during config generation. This ensures your migrated .oxlintrc.json file accurately reflects type-dependent rules from your original ESLint setup.

How do I preview Oxlint config changes before replacing ESLint?

You can preview Oxlint config changes by using the --details option, which provides a dry-run style overview of the migration. This shows how your ESLint rules and plugins are mapped before the final .oxlintrc.json is generated.

What are the limitations when migrating ESLint plugins to Oxlint?

A key limitation when migrating ESLint plugins to Oxlint is handling plugins without direct Oxlint equivalents. The migration process provides guidance messages for these gaps, but some custom or unsupported rules may require manual configuration or replacement.