You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
Use Prettier in VS Code with the repo's parameters (available in .prettierrc).
Open and save a JSON file without any edits.
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.
The text was updated successfully, but these errors were encountered:
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:
.prettierrc
).Expected Behavior:
Prettier should maintain existing JSON formatting when no changes are made. OR The current JSON is not properly formatted.
The text was updated successfully, but these errors were encountered: