Hipo / university-domains-list

University Domains and Names Data List & API
MIT License
1.32k stars 443 forks source link

Prettier Formatting Issue with JSON Files #606

Open mvisani opened 6 months ago

mvisani commented 6 months ago

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.