chore(vscode): set JSON default formatter#7547
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #7547 +/- ##
==========================================
- Coverage 80.16% 80.15% -0.01%
==========================================
Files 730 730
Lines 31217 31217
==========================================
- Hits 25024 25023 -1
- Misses 6193 6194 +1 Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Overall package sizeSelf size: 4.62 MB Dependency sizes| name | version | self size | total size | |------|---------|-----------|------------| | import-in-the-middle | 2.0.6 | 81.92 kB | 813.08 kB | | dc-polyfill | 0.1.10 | 26.73 kB | 26.73 kB |🤖 This report was automatically generated by heaviest-objects-in-the-universe |
Set default formatter for JSON to the built-in formatter and enable files.insertFinalNewline so formatted JSON keeps a trailing newline, matching project style.
a9251cb to
0ff2cb2
Compare
BenchmarksBenchmark execution time: 2026-02-17 09:17:30 Comparing candidate commit 0ff2cb2 in PR branch Found 0 performance improvements and 0 performance regressions! Performance is the same for 232 metrics, 28 unstable metrics. |
Set default formatter for JSON to the built-in formatter and enable files.insertFinalNewline so formatted JSON keeps a trailing newline, matching project style.
Set default formatter for JSON to the built-in formatter and enable files.insertFinalNewline so formatted JSON keeps a trailing newline, matching project style.

What does this PR do?
Configures the VS Code workspace to use the built-in JSON formatter for
[json]and enablesfiles.insertFinalNewlineso formatted JSON files keep a trailing newline and match the project rule that files end with a single newline.Motivation
Ensures JSON files (e.g.
package.json, config files) are formatted the same way for everyone using the repo’s VS Code/Cursor settings.