Files
mattgodbolt-moltyandClaude Opus 4.8 13752840c5 Add CI check enforcing license header banners
We used to enforce the BSD-2-Clause license banner via eslint-plugin-header,
but that check was lost when we migrated from ESLint to Biome (which has no
equivalent rule). This reinstates it as a standalone node script, modelled on
the existing check-frontend-imports.js.

The check requires every source file under lib/, static/, shared/, types/,
test/ and cypress/ to open with a `// Copyright (c) ...` line followed by the
BSD-2-Clause disclaimer. The year and holder are not constrained (the tree has
many holders). Generated, vendored and third-party-licensed files are exempt.

Wired into CI, `npm run check`, the Makefile pre-commit target, the husky
pre-commit hook, and lint-staged (per-file, for staged commits).

Also backfills the banner on the 42 CE-authored files that were missing it,
using each file's git creation year.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-02 12:37:52 -05:00
..
2021-10-05 01:45:05 +02:00
2019-08-21 01:26:16 +02:00
2025-01-29 10:41:03 -06:00
2021-09-13 20:22:27 +02:00
2024-10-27 15:28:38 +02:00
2024-10-26 17:42:22 +02:00
2024-03-08 22:25:09 -06:00
2024-03-08 22:25:09 -06:00
2024-03-08 22:25:09 -06:00
2026-02-08 12:50:20 +01:00
2024-03-08 22:25:09 -06:00
2025-07-28 10:34:46 -05:00