Closed minht11 closed 2 months ago
@minht11 Does editor config solve this? https://moonrepo.dev/docs/faq#how-to-stop-moon-formatting-json-and-yaml-files
It does.
Though bit annoying that another config file is needed, (I use biome) but it works.
So I guess this would be a feature request to improve formatting if no .editorconfig
is present. I am sure it is not trivial, but at least simple cases tabs/spaces should be possible?
I'll look into. It's not impossible, probably just non-trivial.
Looking into this here https://github.com/moonrepo/starbase/pull/85 Will maybe land in the next version.
Landed in 1.27.
Describe the bug
I have my package.json indented with tabs, but moon reformats it using spaces when I update
toolchain.yml
node/pnpm versions.Expected behavior
Keep the same formatting and only update version numbers.
Screenshots
Environment