Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Dec 19, 2025

Evaluated migrating from ESLint to Oxlint. Migration is architecturally incompatible with repository requirements.

Critical Blockers

Custom plugin incompatibility: Repository uses eslint-rules/local-paths.js (~230 LOC) enforcing monorepo import path boundaries with ~ prefix conventions. Oxlint has no JavaScript plugin API—all plugins must be Rust code compiled into Oxlint itself. Cannot replicate.

Missing rules: object-shorthand (actively enforced) has no Oxlint equivalent. Advanced sorting capabilities incomplete.

Analysis

Tested Oxlint v1.34.0 (671 rules). Comparison matrix:

Feature ESLint Oxlint Impact
Custom JS plugins Blocker
object-shorthand Blocker
Advanced import sorting ⚠️ Major
TS interface sorting Minor

Recommendation

Keep ESLint v9 with flat config. Current setup is modern, performant, meets all requirements.

Re-evaluate in 6-12 months if Oxlint adds plugin extensibility.

Documentation

  • OXLINT_MIGRATION_RESEARCH.md - Detailed analysis (9.5KB)
  • .github/OXLINT_MIGRATION_SUMMARY.md - Executive summary (2.4KB)

Warning

Firewall rules blocked me from connecting to one or more addresses (expand for details)

I tried to connect to the following addresses, but was blocked by firewall rules:

  • oxc.rs
    • Triggering command: /usr/bin/curl curl -s REDACTED (dns block)

If you need me to access, download, or install something from one of these locations, you can either:

Original prompt

This section details on the original issue you should resolve

<issue_title>Migrate from ESLint to Oxlint</issue_title>
<issue_description>We want to change this repository linter from https://eslint.org/ to https://oxc.rs/docs/guide/usage/linter.html. There's a few rules in eslint.config.js, we want to make sure there's an equivalent set in place for Oxlint.</issue_description>

<agent_instructions>I'm not sure if a migration is currently possible, researching that is a part of this task!</agent_instructions>

Comments on the Issue (you are @copilot in this section)


💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

@bolt-new-by-stackblitz
Copy link

Review PR in StackBlitz Codeflow Run & review this pull request in StackBlitz Codeflow.

@vercel
Copy link

vercel bot commented Dec 19, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Review Updated (UTC)
hey-api-docs Ready Ready Preview, Comment Dec 19, 2025 9:15pm

@changeset-bot
Copy link

changeset-bot bot commented Dec 19, 2025

⚠️ No Changeset found

Latest commit: 6cfb1ef

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.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

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

Copilot AI changed the title [WIP] Migrate linter from ESLint to Oxlint Research: ESLint to Oxlint migration not feasible Dec 19, 2025
Copilot AI requested a review from mrlubos December 19, 2025 21:17
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.

Migrate from ESLint to Oxlint

2 participants