Skip to content

fix: remove comments from typecheck JSON configs - #29398

Merged
nwparker merged 1 commit into
mainfrom
fix/remove-typecheck-json-comments
Oct 16, 2026
Merged

nwparker merged 1 commit into
mainfrom
fix/remove-typecheck-json-comments

Conversation

@OrcaWin

@OrcaWin OrcaWin commented Oct 16, 2026

Copy link
Copy Markdown
Collaborator

ELI5

Remove the two comments added in #29381 so both typecheck configuration files are valid JSON.

What Changed

Delete one comment from each of config/tsconfig.tc.cli.json and config/tsconfig.tc.web.json. The explanation already lives in the contributor guide. Compiler settings and file coverage are unchanged.

Why

Keep .json files compatible with standard JSON parsers. Removing the comments is sufficient; no configuration or file renaming is needed.

Linked Issue

N/A — maintainer-requested follow-up to #29381.

Visual Proof

N/A — no UI or interaction changes.

Testing

  • I manually tested these changes locally
  • Automated tests added/updated, or explained why not below

On Linux, parsed both files with JSON.parse, ran git diff --check, and passed the commit-hook formatter. No new tests needed for deleting comments; CI covers existing checks.

Review

Self-reviewed: only two comment deletions. No runtime, security, cross-platform, SSH, mobile, agent/integration, git-provider, UI, or performance behavior changes.

Agent skill upstream boundary

  • Not applicable, or this change copies or mechanically translates no upstream skill-installer source, tests, fixtures, registry entries, path tables, comments, or documentation.

Notes

The typecheck optimization from #29381 remains intact.

Checklist

  • This PR is small and focused
  • I explained what changed and why (ELI5, the user-facing before/after, the mechanism, and why over the alternatives)
  • Before/after screenshots or videos attached for UI changes, or N/A with reason
  • Self-reviewed for correctness, security, and performance
  • Cross-platform, SSH/remote, and path/shortcut impact considered (or N/A)
  • pnpm lint, pnpm typecheck, pnpm test, and pnpm build pass (or CI will cover; local preferred)

@coderabbitai

coderabbitai Bot commented Oct 16, 2026

Copy link
Copy Markdown
Contributor

Review in Change Stack →

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration
  • Configuration used: Repository UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 9aceea57-f5f2-4e7f-a8d1-bd66020924e7
📥 Commits

Reviewing files that changed from the base of the PR and between 24bec2d and 1a6fa40.

📒 Files selected for processing: 2
  • config/tsconfig.tc.cli.json
  • config/tsconfig.tc.web.json
💤 Files with no reviewable changes: 2
  • config/tsconfig.tc.web.json
  • config/tsconfig.tc.cli.json

Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 4 remain after this review.

📝 Walkthrough

Removed comments about shared tests and production code from the CLI and web TypeScript configurations. Configuration values are unchanged.

Priority: ⬇️ Low

Merge Risk: ⚪ Minimal · up to 1a6fa

The configuration behavior is unchanged, and no issue requiring resolution before merge is identified.

Pre-merge checks: Passed 5
Check name Status Explanation
Description check Passed The description follows the repository template. It explains the change, reason, testing, scope, and checklist status. The linked issue is marked N/A with a maintainer follow-up explanation.
Title check Passed The title clearly and concisely describes the main change: removing comments from the typecheck JSON configuration files.
Docstring Coverage Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 0…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@nwparker
nwparker merged commit c386cdd into main Oct 16, 2026
0 of 4 checks passed
@nwparker
nwparker deleted the fix/remove-typecheck-json-comments branch October 16, 2026 04:03
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.

2 participants