fix: package.json pretty print Closes #4643#4644
Conversation
|
Thanks @rkristelijn! Would a tab character be more close to pretty printing than 2 spaces? Going by https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/JSON/stringify#using_the_space_parameter |
|
There is no Prettier config in the project. I’d recommend adding one using npx create-prettierrc, which defaults to 2 spaces per Prettier docs. If you prefer tabs, you can configure it there, and Prettier will ensure consistency. Do you want me to add it? I’d prefer the standard Prettier settings, but my goal was just to format package.json, so I’ll follow whatever direction you prefer. Why 2 spaces instead of 1 tab? Let me know what works best! |
Netlify deploy preview |
Closes #4643