Biome 2 can't read our lint config
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 67/100
- Tipo di issue
- Bug
- Chiarezza
- Specificata chiaramente
- Stato di attività
- Attiva
- Stack tecnologico
- bun, typescript
- Ambito
- tooling
Direzione di ricerca
Start with the root biome.json and the Biome migration on the #16 branch; run bunx biome migrate --write as described, then run bun run lint and bun run verify. Check that every existing ignored path remains ignored, carry confirm, alert, and prompt into the 2.x deniedGlobals object with replacement guidance, and review any new rule failures. Done when both commands pass and the migration preserves those requirements.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Dependabot's #16 moves Biome from 1.9.4 to 2.6.9, and version 2 won't read our biome.json. At d3f9dcc0, lint stops before it looks at a single file:
× Found an unknown key `organizeImports`.
× Found an unknown key `ignore`.
× deniedGlobals has an incorrect type, expected an object, but received an array.
Where
biome.jsonat the repository rootbiome-ignorecomments that name rules renamed in 2.x
What to change
Biome ships a migration for this: bunx biome migrate --write on the #16 branch does most of it. Then run lint across the repository and fix what's left. Version 2 brings new recommended rules, and some will fire on code that was fine before.
Two things to keep:
- Every path we currently ignore must stay ignored. Check
files.ignorelands in the 2.x equivalent and not somewhere it's read differently. deniedGlobalskeepsconfirm,alertandpromptout of the app, because a native dialog blocks the page. In 2.x it's an object. Carry all three across, and give each a message that says what to use instead.
If a new rule fires hundreds of times, turn it off in its own commit and say why in the PR. I'd rather review it as its own change.
Test
bun run lint
bun run verify
verify runs lint as one of its gates, so both must pass before #16 can merge.
- Lingua principale
- TypeScript
- Stelle
- 13
- Fork
- 3
- Merge medio
- 38m
- PR unite (30g)
- 14
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di Sentrello/Sentrello
-
dependencies good first issue javascript
Difficoltà 2/5 1-3 ore Idoneità per principianti 85/100
I maintainer di solito rispondono entro 1 giorno
-
dependencies help wanted javascript
Difficoltà 4/5 3-5 giorni Idoneità per principianti 58/100
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di Sentrello/Sentrello
Issue simili
-
agent/guide documentation help wanted stage/010-actionable
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 82/100
kubestellar/console-marketplace#1101 ·
I maintainer di solito rispondono entro 1 giorno
-
Java Edition Tests
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
JSPrismarine/JSPrismarine#4178 · 1 commento · 1 reazione ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
totec448-spec/chat-on-steroids#2394 ·
I maintainer di solito rispondono entro 1 giorno
-
github_actions
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
StellarHyperion/stellarhyperion-backend#499 ·
I maintainer di solito rispondono entro 1 giorno