refactor: trim and simplify code comments#38
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
f88a8d3 to
8c4be5c
Compare
Remove comments that restate what the code already says, strip multi-paragraph docblocks that read like prose documentation rather than code commentary, and shorten over-explaining inline notes to one-line summaries. Kept: non-obvious constraints (StrictMode destroy() decision, after-timer generation counter, busDirty mid-pass skip logic, NoInfer on target/initial, focusable→accessible RN pair, live 'off'→'none' transform). Co-authored-by: Claude <noreply@anthropic.com>
Also fix lint-staged oxlint "no files" exit code for ignored paths. Co-authored-by: Claude <noreply@anthropic.com>
04fd2b3 to
c72b0cc
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
destroy()reason,after-timer generation counter,busDirtymid-pass skip logic,NoInferontarget/initial,focusable→accessibleRN pair,live: 'off'→'none'transformFiles changed
Core engine (
machine.ts,computed.ts,connector.ts,transitions.ts,actions.ts,guards.ts,setup.ts,types.ts,reaction.ts,compose.ts,store.ts) and renderer normalizers (react,native,opentui) + shared bindings.Net: −730 comment lines, 0 logic changes.
🤖 Generated with Claude Code