Lint static/js/ with ESLint in Docker (closes #120) #486

Merged
clawbot merged 1 commits from issue-120-eslint into next 2026-10-03 04:24:11 +02:00
1 Commits
Author SHA1 Message Date
sneak e82b1cc3df Lint static/js/ with ESLint in Docker (closes #120)
check / check (push) Successful in 3m29s
ESLint, pinned by package.json and yarn.lock, runs in a new js-lint
stage of the Dockerfile on the pinned node 24 LTS image. It starts from
a js-deps stage that installs ESLint and stays cached until those two
files change. script/lint builds js-lint after the Go lint, and the
build stage depends on it, so make check and the image build both fail
on a violation. eslint.config.mjs turns on the styleguide's checkable
rules: no-var and prefer-const.

Model: opus-5-5
2026-10-03 02:12:38 +00:00