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

Support tabs in nomad fmt #691

Open
brandonkal opened this issue Aug 9, 2024 · 1 comment
Open

Support tabs in nomad fmt #691

brandonkal opened this issue Aug 9, 2024 · 1 comment

Comments

@brandonkal
Copy link

Proposal

nomad fmt should support using tabs for indentation. Using two spaces is less accessible. Meanwhile, by using tabs, each team member can choose the visual level of indentation based on the file complexity and their visual needs.

This can be enabled via a cli flag nomad fmt -tabs or by respecting the .editorconfig

@tgross
Copy link
Member

tgross commented Aug 9, 2024

@brandonkal the nomad fmt command just wraps the formatter in the HCL2 library. I'm going to move this issue there.

@tgross tgross transferred this issue from hashicorp/nomad Aug 9, 2024
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

2 participants