Skip to content

Prettier Formatting Issue with JSON Files #606

@mvisani

Description

@mvisani

Issue Description:

Prettier is unexpectedly modifying thousands of lines in the JSON file upon saving, even when no changes are made. This complicates pull request reviews and raises questions about the file's proper formatting.

Context

While attempting to create a pull request, the excessive changes made by Prettier make it impossible for a proper review.

Steps to Reproduce:

  1. Use Prettier in VS Code with the repo's parameters (available in .prettierrc).
  2. Open and save a JSON file without any edits.
  3. Note extensive modifications by Prettier.

Expected Behavior:

Prettier should maintain existing JSON formatting when no changes are made. OR The current JSON is not properly formatted.

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