Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

`vp migrate` silently drops custom lint rules when a `jsPlugin`'s namespace can't be derived

Open
#2,231 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
55/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Quiet
Domain
cli, tooling

Research direction

Start at the vp migrate entry point that merges .oxlintrc.json into vite.config.ts, then trace how local jsPlugin namespaces are matched. Reproduce with the linked Kumo commit and inspect the ./lint/kumo.js plugin's meta.name; done when its kumo/* rules survive migration and the result remains observable for dropped plugins.

Written by the indexing model from the issue text.

Description

migration pending triage
Describe the bug

When vp migrate merges .oxlintrc.json into vite.config.ts, it drops all rules whose namespace it can't match to a plugin.

For a local jsPlugin like ./lint/kumo.js, the plugin's real namespace (kumo, from its meta.name) is never derived from the path, so every kumo/* rule is removed from the merged config.

This happens silently for rules while dropped plugins produce a warning.

Solution approach

We could resolve the real namespace (import the plugin and read meta.name) which is exactly what oxlint does at lint time.

Reproduction

https://github.com/cloudflare/kumo/commit/2a463f7f260f5a3c4523099600fe65b4764acff4

Steps to reproduce
  1. Try migrating this app via vp migrate
  2. See the rules missing
System Info
Source        .node-version
  Source Path   /Users/alichter/Programming/kumo/.node-version
  Project Root  /Users/alichter/Programming/kumo

Tool Paths:
  node  /Users/alichter/.vite-plus/js_runtime/node/24.12.0/bin/node
  npm   /Users/alichter/.vite-plus/js_runtime/node/24.12.0/bin/npm
  npx   /Users/alichter/.vite-plus/js_runtime/node/24.12.0/bin/npx

Package Manager:
  Name          pnpm
  Version       10.22.0
  Source        packageManager
  Source Path   /Users/alichter/Programming/kumo/package.json
  Project Root  /Users/alichter/Programming/kumo
  Bin Path      /Users/alichter/.vite-plus/package_manager/pnpm/10.22.0/pnpm/bin/pnpm
Used Package Manager

pnpm

Logs

Validations
Dominant language
Rust
Stars
5.8k
Forks
263
Avg merge
1d 4h
Merged PRs (30d)
148

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from voidzero-dev/vite-plus

All issues in voidzero-dev/vite-plus

Similar issues

More Rust issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.