Parity gap: Jinja templates + hand-authored CSS/JS are not linted (IcebergCTI lints both)
Cross-repo parity review of the Iceberg family (IcebergCTI / IcebergTTX / IcebergEBS). This repo has server-rendered Jinja templates and hand-authored static CSS/JS (with a vendored Alpine CSP build) but lints neither. The sibling IcebergCTI — same frontend stack — gates on djlint (Jinja) and Biome (CSS/JS) in both CI and pre-commit.
IcebergCTI baseline:
- djlint —
djlint <templates> --lint, profile="jinja", lint-only, with a documented ignore list in [tool.djlint]. Catches Jinja/HTML structure issues.
- Biome —
biome lint <static-css-js>, config in biome.jsonc (formatter off, lint-only, vendor/ excluded). Installed in CI via biomejs/setup-biome (standalone binary, no Node); the pre-commit hook no-ops if the binary is absent.
- A frontend-assets test also guards the CSP invariants (no inline handlers/
<script>, no x-html).
Current state (this repo): templates and hand-authored CSS/JS are unlinted (CSS only passes through the Tailwind build).
Acceptance criteria
Reverse-parity: adopting a practice IcebergCTI already has.
Parity gap: Jinja templates + hand-authored CSS/JS are not linted (IcebergCTI lints both)
Cross-repo parity review of the Iceberg family (IcebergCTI / IcebergTTX / IcebergEBS). This repo has server-rendered Jinja templates and hand-authored static CSS/JS (with a vendored Alpine CSP build) but lints neither. The sibling IcebergCTI — same frontend stack — gates on djlint (Jinja) and Biome (CSS/JS) in both CI and pre-commit.
IcebergCTI baseline:
djlint <templates> --lint,profile="jinja", lint-only, with a documented ignore list in[tool.djlint]. Catches Jinja/HTML structure issues.biome lint <static-css-js>, config inbiome.jsonc(formatter off, lint-only,vendor/excluded). Installed in CI viabiomejs/setup-biome(standalone binary, no Node); the pre-commit hook no-ops if the binary is absent.<script>, nox-html).Current state (this repo): templates and hand-authored CSS/JS are unlinted (CSS only passes through the Tailwind build).
Acceptance criteria
[tool.djlint]config and a CI step over the templates dir.biome.jsonc, lint-only, exclude vendored assets) with a CI step viabiomejs/setup-biome.script-src.Reverse-parity: adopting a practice IcebergCTI already has.