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

Codegen: Add options to choose tab / space for indent #150

Open
overlookmotel opened this issue Dec 8, 2024 · 0 comments
Open

Codegen: Add options to choose tab / space for indent #150

overlookmotel opened this issue Dec 8, 2024 · 0 comments

Comments

@overlookmotel
Copy link

overlookmotel commented Dec 8, 2024

Currently codegen always uses tabs for indent. It'd be ideal if it had options for:

  • Indent with tabs / spaces.
  • Number of tabs / spaces to indent with (e.g. 2 or 4).

oxc-project/oxc#7707 involves a hack which replaces tabs with spaces in transformer conformance output. It'd be better if this was supported natively.

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

No branches or pull requests

1 participant