voidzero-dev / voidzero-dev/vite-plus

Also migrate dynamic Oxlint & Oxfmt configurations if they exist

Aperta
#2,430 1 commento 0 reazioni 0 assegnatari Vedi su GitHub
contribution welcome
Lingua principale
Rust
Stelle
5.8k
Fork
261
Merge medio
1g 34m
PR unite (30g)
135

Descrizione

### Description

From what I can see it seems like `oxlint.config.ts` and `oxfmt.config.ts` doesn't have a migration flow yet. This seems like a bit of low-hanging fruit.

### Suggested solution

Probably replicate how Vitest & tsdown are migrated.

### Alternative

Manual migration, but we already have their `.ox*rc.json(c)` versions migratable, why not these ones too?

### Additional context

_No response_

### Validations

- [x] Read the [Contributing Guidelines](https://github.com/voidzero-dev/vite-plus/blob/main/CONTRIBUTING.md).
- [x] Confirm this request is for Vite+ itself and not for Vite, Vitest, tsdown, Rolldown, or Oxc.
- [x] Check that there isn't already an issue requesting the same feature.

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

Locate the existing migration flows for Vitest and tsdown, then compare them with migration handling for .ox*rc.json(c) configurations. Add equivalent handling for oxlint.config.ts and oxfmt.config.ts when those files exist, and verify that both dynamic configurations migrate correctly.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
typescript
Ambito
tooling
Tipo di issue
Funzionalità
Difficoltà
3/5
Tempo stimato
1-2 giorni
Stato di attività
Attiva
Chiarezza
Abbastanza chiara
Idoneità per principianti
68/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.