ci(console): only apps/console has a lint script, so the shared console packages are never linted

Offen
#4,687 0 Kommentare 1 Reaktion 0 zugewiesene Personen Auf GitHub ansehen

Maintainer antworten meist innerhalb von 2 Tagen

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
3/5
Geschätzter Aufwand
1-2 Tage
Anfängerfreundlichkeit
67/100
Issue-Typ
Bug
Klarheit
Größtenteils klar
Aktivitätsstatus
Aktiv
Tech-Stack
eslint, typescript
Bereich
ci-cd

Rechercherichtung

Start in packages/system/dashboard/images/console and inspect the package manifests for apps/console, packages/k8s-client, packages/ui, and packages/types, along with the shared ESLint configuration. Add package lint scripts, address the lint findings, and update the console CI job to run pnpm -r lint; done when the recursive lint command checks all four packages and passes in CI.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

area/ci area/dashboard kind/bug triage/needs-triage

In the console workspace (packages/system/dashboard/images/console) only apps/console defines a lint script. packages/k8s-client, packages/ui and packages/types have none, so pnpm -r lint and the CI lint step being added for #3911/#4566 never look at them, and the shared code those packages hold can drift from the eslint rules the app is held to. Fix shape: give each package a lint script on the shared eslint config, pay down whatever it reports, and run pnpm -r lint in the console CI job.

Vorherrschende Sprache
Go
Sterne
2.2k
Forks
209
Ø Merge
2 T. 18 Std.
Gemergte PRs (30 T.)
152

Entwicklungsumgebung

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus cozystack/cozystack

Alle Issues in cozystack/cozystack

Ähnliche Issues

Weitere Issues zu Go

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.