voidzero-dev / voidzero-dev/vite-plus

Support ESLint migration for monorepo workspace packages

オープン
#1,168 コメント 0 件 リアクション 4 件 担当者 1 名 @fengmk2 が担当を希望しています GitHub で見る
migration
主要言語
Rust
スター
5.8k
フォーク
262
平均マージ
23時間 41分
マージ済み PR(30日)
138

説明

## Feature Request

### Problem

When migrating a monorepo to Vite+, the ESLint migration only looks for a root config:

> ESLint detected in workspace packages but no root config found. Package-level ESLint must be migrated manually.

In monorepos like [TresJS](https://github.com/Tresjs/tres), ESLint is configured per-package using a shared config (`@tresjs/eslint-config` wrapping `@antfu/eslint-config`) with custom rules (Vue attribute limits, curly braces, stylistic formatting, etc.). There's no root-level ESLint config — each package has its own `eslint.config.mjs`.

The current migration doesn't iterate over workspace packages to migrate them individually.

### Real-world example

- Monorepo: https://github.com/Tresjs/tres
- Shared config: `@tresjs/eslint-config` (wraps `@antfu/eslint-config`)
- Custom rules include: Vue attribute limits, curly braces enforcement, stylistic formatting
- Each package (`core`, `cientos`, `nuxt`, `post-processing`, etc.) has its own `eslint.config.mjs` importing the shared config

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。