Skip to content

LINT: Add Biome formatter and linter, prune redundant tests - #10

Merged
bguidolim merged 1 commit into
bruno/MEMORY-USAGE-trackingfrom
bruno/LINT-biome-setup
Oct 16, 2026
Merged

bguidolim merged 1 commit into
bruno/MEMORY-USAGE-trackingfrom
bruno/LINT-biome-setup

Conversation

@bguidolim

Copy link
Copy Markdown
Contributor

Why

The pack had a typecheck and tests but nothing enforcing style or catching lint-class mistakes, so formatting drifted file to file. This adopts the same Biome setup as mcs-memory, with dev tooling pinned through a lockfile instead of installed ad hoc in CI, and lints everything except recorded goldens by default.

While touching every test file, the suite was audited: fixtures that duplicated another's input and golden, or never reached the path their name claims, are gone. The interpreter check now compares the manifest's hookInterpreter against each hook's shebang directly, so dropping a flag from one side fails.

Stacked on #9.

Test plan

  • Run npm ci && npm run lint → expect no diagnostics
  • Drop --disable-warning=ExperimentalWarning from one hookInterpreter in techpack.yaml and run npm test → expect the manifest test to fail

…ant tests

- Biome, TypeScript and @types/node pinned in devDependencies with a lockfile; CI lints in its own job
- Reformat runtime, scripts and tests; drop dead helper params and bracketed env access
- Remove duplicate or vacuous fixtures and their goldens; tie hookInterpreter to the shebang
@bguidolim
bguidolim added this pull request to stack #11 October 15, 2026 16:33
@bguidolim
bguidolim merged commit 17508f4 into main Oct 16, 2026
8 checks passed
@bguidolim
bguidolim deleted the bruno/LINT-biome-setup branch October 16, 2026 08:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant