Skip to content

chore(repo): companion packages aren't covered by pnpm -r check:lint #457

Description

@rejifald

pnpm -r check:lint only runs in packages that define a check:lint script. The companion packages (redis, pino, …, and the new @stitchapi/download) don't — so ESLint (including the repo's no-restricted-syntax rules) never runs against their src / test.

This bit #451: a banned ...(x !== undefined ? { k: x } : {}) spread (should be compact({…})) landed in @stitchapi/download/src/classify.ts and passed all local checks. Only check:contract (a different ratchet) surfaced a related issue in CI; the core copy of the same pattern failed check:lint only because core has the script.

Proposal

Give every publishable companion package a check:lint script (eslint src test), matching core — or add a single root ESLint pass over packages/*/src + packages/*/test. Then pnpm -r check:lint (and the verify job) covers the whole workspace and the lint ratchet can't be bypassed by a package that simply omits the script.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions