Skip to content

Fix typos in source comments - #4798

Merged
kubk merged 1 commit into
mobxjs:mainfrom
AmmarBasha2011:docs/fix-comment-typos
Dec 5, 2026
Merged

kubk merged 1 commit into
mobxjs:mainfrom
AmmarBasha2011:docs/fix-comment-typos

Conversation

@AmmarBasha2011

@AmmarBasha2011 AmmarBasha2011 commented Dec 4, 2026 •

Copy link
Copy Markdown
Contributor

Fixes 10 spelling mistakes in source comments found with codespell (similary, wether, compatiblity, produciton, reruning x2, wan't, indentical, ot, accidentaly) across mobx and mobx-react.

Comments only, no code changes, so no changeset. I left test files alone.

I used an AI assistant (Claude) to find and review these and checked the diff myself.

Summary by CodeRabbit

  • Documentation
    • Corrected spelling and wording in several internal comments. These edits do not change application behavior or affect the experience of using the product. No user-facing features or behavior changes are included in this release.

@changeset-bot

changeset-bot Bot commented Dec 4, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: 8074f5a

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@coderabbitai

coderabbitai Bot commented Dec 4, 2026

Copy link
Copy Markdown

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

This change corrects spelling in comments across MobX and mobx-react. It does not change executable code or public declarations.

Changes: Comment spelling corrections

Layer / File(s) Summary
Correct comment spelling
packages/mobx-react/src/observerClass.ts, packages/mobx-react/src/utils/utils.ts, packages/mobx/src/core/globalstate.ts, packages/mobx/src/core/observable.ts, packages/mobx/src/types/observablemap.ts, packages/mobx/src/types/observablevalue.ts, packages/mobx/src/types/type-utils.ts
Corrects spelling in comments. Runtime behavior and public declarations are unchanged.

Estimated code review effort: 1 (Trivial) | ~3 minutes

Change: Other

Suggested reviewers: mweststrate, urugator

Merge Risk: Minimal · up to 8074f

This change only fixes spelling in source comments and does not alter runtime behavior or public APIs, so it is safe to merge.

Security architecture risk: Minimal · up to 8074f

MobX and mobx-react behave the same after this PR. The edits correct spelling without changing what callers or operators need to do.

Pre-merge checks: Passed 4

Check name Status Explanation
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check Passed The title "Fix typos in source comments" matches the changeset. The raw summary and PR objectives both describe spelling fixes in code comments across the mobx and mobx-react packages, with no runtime…
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.
Full details: Title check

Explanation

The title "Fix typos in source comments" matches the changeset. The raw summary and PR objectives both describe spelling fixes in code comments across the mobx and mobx-react packages, with no runtime or declaration changes. The title is short, specific, and states the main change.

Finishing Touches

Generate unit tests (beta)

  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Recent review info

Run configuration

  • Source mode: Auto
  • Repository: mobxjs/mobx
  • Branch: main
  • File: .coderabbit.yaml
  • Commit: 8e70a7c
  • Layers: Repository YAML
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 9dc8a657-b641-4f1c-a026-39f1004389ad
Commits

Reviewing files that changed from the base of the PR and between 8e70a7c and 8074f5a.

Files selected for processing: 7

  • packages/mobx-react/src/observerClass.ts
  • packages/mobx-react/src/utils/utils.ts
  • packages/mobx/src/core/globalstate.ts
  • packages/mobx/src/core/observable.ts
  • packages/mobx/src/types/observablemap.ts
  • packages/mobx/src/types/observablevalue.ts
  • packages/mobx/src/types/type-utils.ts

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

@kubk

kubk commented Dec 5, 2026

Copy link
Copy Markdown
Collaborator

Thanks

@kubk
kubk merged commit b8d55ab into mobxjs:main Dec 5, 2026
1 check passed
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