fix(ci): add eslint, lockfile and tests for central CI #3

Merged
forge-recovery merged 1 commits from ci/central-ci-repair-20261101 into develop 2026-11-01 19:56:11 +00:00
Owner

Summary

Make the central CI profile pass for jarvis-file: it had no ESLint, no lockfile and no test files despite node --test scripts.

  • Add ESLint 10 (recommended rules; Node CommonJS, browser globals for jarvis-file-core/js) and eslint.config.mjs.
  • Add the first package-lock.json (newest versions within existing ranges; nothing was pinned before).
  • Fix unused-binding lint errors using the repo's _ prefix convention; stub init calls are kept.
  • Add 13 node:test tests (validate-path, rules-compiler, context-reader).

Verification

Pinned node:22.20.0-bookworm, base ff2104e: npm ci, lint, test pass (13 passed, 0 failed).
Note: ESLint 10 and the test glob need Node 22 (central CI uses 22); the old Node 18 matrix is not covered. Runtime source compatibility is unchanged.

🤖 Generated with Claude Code

## Summary Make the central CI profile pass for jarvis-file: it had no ESLint, no lockfile and no test files despite `node --test` scripts. - Add ESLint 10 (recommended rules; Node CommonJS, browser globals for `jarvis-file-core/js`) and `eslint.config.mjs`. - Add the first `package-lock.json` (newest versions within existing ranges; nothing was pinned before). - Fix unused-binding lint errors using the repo's `_` prefix convention; stub init calls are kept. - Add 13 `node:test` tests (validate-path, rules-compiler, context-reader). ## Verification Pinned `node:22.20.0-bookworm`, base `ff2104e`: `npm ci`, lint, test pass (13 passed, 0 failed). Note: ESLint 10 and the test glob need Node 22 (central CI uses 22); the old Node 18 matrix is not covered. Runtime source compatibility is unchanged. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
forge-recovery added 1 commit 2026-11-01 19:38:52 +00:00
fix(ci): add eslint, lockfile and tests for central CI
KofTwentyTwo/ci-policy: ci / fork-guard (pull_request) Skipped
KofTwentyTwo/ci-policy: ci / gradle-0 (pull_request) Skipped
KofTwentyTwo/ci-policy: ci / gradle-1 (pull_request) Skipped
KofTwentyTwo/ci-policy: ci / java-docker-2 (pull_request) Skipped
KofTwentyTwo/ci-policy: ci / java-maven-3 (pull_request) Skipped
KofTwentyTwo/ci-policy: ci / manifests-4 (pull_request) Skipped
KofTwentyTwo/ci-policy: ci / rust-6 (pull_request) Skipped
KofTwentyTwo/ci-policy: ci / rust-7 (pull_request) Skipped
KofTwentyTwo/ci-policy: ci / rust-8 (pull_request) Skipped
KofTwentyTwo/ci-policy: ci / source-config-9 (pull_request) Skipped
KofTwentyTwo/ci-policy: ci / not-enrolled (pull_request) Skipped
KofTwentyTwo/ci-policy: Shared Node CI / secrets (pull_request) Successful in 27s
KofTwentyTwo/ci-policy: Shared Node CI / verify (pull_request) Successful in 44s
KofTwentyTwo/ci-policy: Shared Node CI / gate (pull_request) Successful in 22s
KofTwentyTwo/ci-policy: ci / node-5 (pull_request) Successful in 1m9s
KofTwentyTwo/ci-policy: ci / ci-result (pull_request) Successful in 7s
86646832e2
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>

Co-Authored-By: Codex <noreply@openai.com>
forge-recovery merged commit ca2bc895fd into develop 2026-11-01 19:56:11 +00:00
Sign in to join this conversation.