Skip to content
This repository was archived by the owner on Aug 13, 2025. It is now read-only.
This repository was archived by the owner on Aug 13, 2025. It is now read-only.

Inconsistent Prettier Formatting #1398

@ssande-fwd

Description

@ssande-fwd

Describe the bug
I get extensive formatting edits to existing code when I run buildspecs in jacdac-docs using VS Code.

To Reproduce
Steps to reproduce the behavior:

  1. Set up jacdac-docs in VS Code.
  2. Run "yarn buildspecs".
  3. Observe changes that were made to pxt-jacdac, for example.

Expected behavior
I expect that there will be no formatting of existing code since there are .prettierc files and prettier runs every time you run buildspecs.

Image

Image

Image

Additional Context
If I change trailingComma to none to avoid some of the edits I instead get edits on different files where there are no trailing commas.

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