Add a JavaScript linter and formatter to the CI

Open
#2,319 0 comments 0 reactions 1 assignee View on GitHub

Maintainers usually reply within 1 day

@tdruez is already working on this.

Since Nov 12, 2026.

Assessment

This issue has not been assessed yet.

Description

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.

Dominant language
Python
Stars
226
Forks
222
Avg merge
1d 5h
Merged PRs (30d)
32

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from aboutcode-org/scancode.io

All issues in aboutcode-org/scancode.io

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.