Add a JavaScript linter and formatter to the CI

Aperta
#2,319 0 commenti 0 reazioni 1 assegnatario Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

@tdruez ci sta già lavorando.

Dal 12/11/2026.

Valutazione

Questa issue non è ancora stata valutata.

Descrizione

maintainers-only

The Python code is validated with Ruff in make check and in the CI, but nothing validates the JavaScript code: the files in scancodeio/static/js/ and the inline scripts in the templates.

Add a JavaScript linter and formatter to make check and to the CI, to keep the code consistent and catch errors early. Pick a simple tool that fits our setup, such as Biome, which ships as a single binary.

Lingua principale
Python
Stelle
226
Fork
222
Merge medio
1g 5h
PR unite (30g)
32

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 aboutcode-org/scancode.io

Tutte le issue di aboutcode-org/scancode.io

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.