Skip to content

ci: add the missing lint gate, and put typecheck in verify - #2

Merged
catomean merged 1 commit into
mainfrom
worktree-verify-floor-lint
Aug 16, 2026
Merged

ci: add the missing lint gate, and put typecheck in verify#2
catomean merged 1 commit into
mainfrom
worktree-verify-floor-lint

Conversation

@catomean

Copy link
Copy Markdown
Collaborator

Same two gaps as ai-forms (#11), from the same scaffold:

  • No lint at all. ESLint was not a dependency, there was no config, and no script referenced it — so the fleet verify floor (lint AND typecheck AND test) was unmet.
  • typecheck existed but was not in verify. build is tsc -p, so types were checked only as a side effect of emitting. That conflates "compiles to dist" with "types are sound", and it evaporates the moment the build strategy changes.

verify = lint → typecheck → build → test.

Recommended presets only — ~600 lines of library code doesn't need a bespoke rule set, which would just be a second opinion to maintain. Lint is clean on arrival, so this closes a hole rather than deferring a backlog.

CI needs no change: ci.yml already calls npm run verify verbatim.

Verified: npm run verify passes — eslint clean, tsc clean, build clean, 31/31 tests.

🤖 Generated with Claude Code

Same two gaps as ai-forms (fixed there in #11), from the same scaffold:

  - No lint at all. ESLint was not a dependency, there was no config, and no
    script referenced it — so the fleet verify floor (lint AND typecheck AND
    test) was unmet.
  - `typecheck` existed but was not in `verify`. `build` is `tsc -p`, so types
    were checked only as a side effect of emitting. That conflates "compiles
    to dist" with "types are sound", and it evaporates the moment the build
    strategy changes.

verify = lint → typecheck → build → test.

Recommended presets only. This is ~600 lines of library code; a bespoke rule
set would be a second opinion to maintain for no benefit. The floor is "lint
runs and can fail", not "lint encodes taste". Lint is clean on arrival, so this
closes a hole rather than deferring a backlog.

CI needs no change — ci.yml already calls `npm run verify` verbatim.

Verified: `npm run verify` passes — eslint clean, tsc clean, build clean,
31/31 tests.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@catomean
catomean merged commit c86b0b2 into main Aug 16, 2026
1 check passed
@catomean
catomean deleted the worktree-verify-floor-lint branch August 16, 2026 12: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