Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prettier Formatting Issue with JSON Files #606

Open
mvisani opened this issue May 14, 2024 · 0 comments
Open

Prettier Formatting Issue with JSON Files #606

mvisani opened this issue May 14, 2024 · 0 comments

Comments

@mvisani
Copy link

mvisani commented May 14, 2024

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.

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

No branches or pull requests

1 participant