Add Biome for linting and wire up `pnpm lint`
Maintainer antworten meist innerhalb von 1 Tag
Dieses Issue hat noch niemand übernommen.
Bewertung
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Anfängerfreundlichkeit
- 72/100
- Issue-Typ
- Feature
- Klarheit
- Klar beschrieben
- Aktivitätsstatus
- Aktiv
- Tech-Stack
- github-actions, typescript
Rechercherichtung
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.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
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.jsonthat 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 lintrunbiome checkoverpackages/*/src,packages/*/testsandwebsite/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 lintpasses ondevand 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.
- Vorherrschende Sprache
- TypeScript
- Sterne
- 13
- Forks
- 7
- Ø Merge
- 3 Std. 33 Min.
- Gemergte PRs (30 T.)
- 176
Entwicklungsumgebung
- Kein Dockerfile und keine Docker-Compose-Datei
- Hat eine Pull-Request-Vorlage
- Beitragsleitfaden lesen
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus codercops/chatcops
-
Add startup checks that catch weak or leaked security settingsEvtl. vergeben @varun-pahuja hat das vor 2 Tagen übernommen. Offenenhancement good first issue hacktoberfest server
codercops/chatcops#231 · 3 Kommentare · 1 zugewiesene Person ·
Maintainer antworten meist innerhalb von 1 Tag
-
Type-check the TypeScript samples in the docsEvtl. vergeben @An16og hat das vor 2 Tagen übernommen. Offendocumentation hacktoberfest help wanted testing
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 70/100
codercops/chatcops#201 · 7 Kommentare · 1 zugewiesene Person ·
Maintainer antworten meist innerhalb von 1 Tag
-
hacktoberfest
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 35/100
Maintainer antworten meist innerhalb von 1 Tag
-
Add built-in translations to the widgetEvtl. vergeben @piyusshhjangid hat das vor 1 Tag übernommen. Offenhelp wanted widget
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 52/100
codercops/chatcops#55 · 3 Kommentare ·
Maintainer antworten meist innerhalb von 1 Tag
Alle Issues in codercops/chatcops
Ähnliche Issues
-
area:agent-view area:tui bug platform:macos
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 70/100
anthropics/claude-code#104558 ·
Maintainer antworten meist innerhalb von 1 Tag
-
updater
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 68/100
UniversityOfHelsinkiCS/oodikone#5141 ·
-
maintanance
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 74/100
inmanta/web-console#7606 ·
Maintainer antworten meist innerhalb von 1 Tag
-
bug skills
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 77/100
equinor/fusion-framework#5846 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 74/100