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

identifiers starting with an underscore fail to format #91

Closed
martinohmann opened this issue Oct 12, 2022 · 0 comments · Fixed by #92 or #89
Closed

identifiers starting with an underscore fail to format #91

martinohmann opened this issue Oct 12, 2022 · 0 comments · Fixed by #92 or #89
Labels
bug Something isn't working

Comments

@martinohmann
Copy link
Owner

This fails to format because _ is not in XID_START, but it should still be allowed:

locals {
  _foo = "bar"
}

In terraform this is valid.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
1 participant