Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Add Biome for linting and wire up `pnpm lint`

Chiusa
#191 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
72/100
Tipo di issue
Funzionalità
Chiarezza
Specificata chiaramente
Stato di attività
Attiva
Stack tecnologico
github-actions, typescript
Ambito
ci-cd, tooling

Direzione di ricerca

Read the root package.json, .editorconfig, existing source under packages//src and packages//tests, website/src, and .github/workflows/ci.yml. Check the existing code style before configuring Biome, then run pnpm lint and review its diff for formatting-only changes. Done means lint passes locally and in CI, with only lint fixes outside the named configuration, package, lockfile, and CI files.

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

Descrizione

enhancement hacktoberfest help wanted testing

The root package.json has "lint": "pnpm -r lint" (line 12), but no package defines a lint script, so it does nothing. There is no linter or formatter config in the repo, only .editorconfig.

What to do

  • Add Biome as a root dev dependency with a biome.json that matches the current style: 2 spaces, single quotes, semicolons, trailing commas where the code already uses them. Turn on the recommended lint rules.
  • Make pnpm lint run biome check over packages/*/src, packages/*/tests and website/src.
  • Fix what the linter reports. Don't reformat lines that only differ in formatting: set the formatter to match the existing code instead, so the diff stays small.
  • Add a lint step to .github/workflows/ci.yml.

Acceptance criteria

  • pnpm lint passes on dev and runs in CI
  • The PR diff outside biome.json, package.json, the lockfile and CI is lint fixes only, with no formatting-only changes
  • No changeset needed unless a lint fix changes behavior

Want to work on this? Comment below and I'll assign it to you. Please take one issue at a time, branch off dev, and open your PR against dev with Closes #<this issue number>. Setup notes (pnpm, build before test) are in CONTRIBUTING.md.

Lingua principale
TypeScript
Stelle
13
Fork
7
Merge medio
3h 41m
PR unite (30g)
155

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di codercops/chatcops

Tutte le issue di codercops/chatcops

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.