biome-to-oxc

Migrate JavaScript and TypeScript projects from Biome to oxlint and oxfmt.

2|Updated Nov 24, 2024
One-click install
npx skills add https://github.com/DanSnow/dotfiles --skill biome-to-oxc
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: biome-to-oxc
Source: https://github.com/DanSnow/dotfiles/tree/main/private_dot_claude/skills/biome-to-oxc
Command: npx skills add https://github.com/DanSnow/dotfiles --skill biome-to-oxc

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill helps developers migrate their JavaScript and TypeScript projects from the Biome toolchain to the Oxc toolchain (oxlint and oxfmt), with a fallback to Prettier for unsupported file types.

Core Features & Use Cases

  • Automated Migration: Guides users through removing Biome, adding Oxc and Prettier packages, and configuring them.
  • Configuration Templates: Provides pre-filled templates for .oxlintrc.json, .prettierrc.json, and .prettierignore.
  • VSCode Integration: Offers recommended VSCode settings for seamless integration with Oxc and Prettier.
  • Use Case: A developer wants to switch their large monorepo from Biome to Oxc for faster linting and formatting. This Skill provides the exact steps and configurations needed to perform the migration with minimal disruption.

Quick Start

Use the biome-to-oxc skill to migrate the current project to oxlint and oxfmt.

Frequently Asked Questions about biome-to-oxc

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

FAQPage Schema
How do I migrate my JavaScript project from Biome to oxc?

Migrating JavaScript from Biome to oxc involves removing Biome, installing oxlint and oxfmt, and applying new configuration templates. The process requires manual execution of the steps and package installations.

Can I use Prettier as a fallback when migrating to oxc?

Yes, you can use Prettier as a fallback when migrating to oxc. The migration process integrates Prettier to handle unsupported file types, generating `.prettierrc.json` and `.prettierignore` configurations.

What is the best way to configure VSCode for oxlint and oxfmt?

Configuring VSCode for oxlint and oxfmt is done by applying the recommended VSCode settings provided during the migration process. This ensures seamless integration with the Oxc toolchain for linting and formatting.

Does migrating from Biome to Oxc support TypeScript projects?

Migrating from Biome to Oxc fully supports TypeScript projects. The migration facilitates the adoption of the oxc toolchain for both JavaScript and TypeScript linting and formatting tasks.

Are there limitations when switching from Biome to oxlint and oxfmt?

A limitation when switching from Biome to oxlint and oxfmt is that oxc does not support all file types natively. Prettier must be configured as a fallback to format unsupported files during the migration.

What configuration files are generated when moving to the Oxc toolchain?

When moving to the Oxc toolchain, the migration generates pre-filled templates for `.oxlintrc.json`, `.prettierrc.json`, and `.prettierignore`. These files configure linting and formatting rules.