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

Change indentation #941

Open
Netail opened this issue Feb 19, 2024 · 0 comments · May be fixed by #952
Open

Change indentation #941

Netail opened this issue Feb 19, 2024 · 0 comments · May be fixed by #952

Comments

@Netail
Copy link

Netail commented Feb 19, 2024

Hi team Beachball,
Would it be possible to change the JSON indentation?
Currently the indentation is set to 2 spaces

fs.writeJSONSync(info.packageJsonPath, packageJson, { spaces: 2 });
but wouldn't be nice to make this an option to e.g. change to 4. Maybe a dynamic indentation; use current indentation if file exists else use root package.json indentation

@Netail Netail linked a pull request Mar 9, 2024 that will close this issue
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

Successfully merging a pull request may close this issue.

1 participant