Skip to content

Fix typos in code comments (19 fixes across 15 files) #3762

Description

@AlexRixten

Hi! While reading the source I spotted a number of misspellings in JSDoc and
inline comments across motion-utils, motion-dom, and framer-motion. They
surface in IDE tooltips and hurt readability of the explanatory comments, so
I'd like to contribute the fixes.

What

19 misspellings across 15 files — comment/JSDoc only, no logic, types, or
behavior change (19 insertions / 19 deletions, one-to-one word swaps). A few
examples:

  • motion-utils/src/pipe.tslinearilylinearly
  • motion-dom/src/render/VisualElement.tsinhertinginheriting (×2)
  • framer-motion/.../use-visual-element.tssitutationsituation
  • motion-dom/.../create-projection-node.tscalculcated/relavent/recalcualtecalculated/relevant/recalculate

Full list is in the branch (below).

Where

Ready on a branch in my fork: AlexRixten:docs/fix-comment-typos
main...AlexRixten:docs/fix-comment-typos

How to proceed

I tried to open a PR directly, but the repo's PR creation policy is
collaborators-only, so I can't. I'm happy to either:

  • open the PR if I'm added as a collaborator, or
  • have a maintainer merge the branch from the fork directly.

Either works — just let me know. Thanks!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions