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

Use hash instead of double slashes for single line comments #309

Merged
merged 1 commit into from
Oct 23, 2024

Commits on Jul 25, 2024

  1. Use hash instead of double slashes for single line comments

    HCL syntax accepts both `#` and `//` for line comments, but `#` is more idiomatic.
    
    This is also mentioned in Terraform documentation:
    
    > The # single-line comment style is the default comment style and should be used in most cases. Automatic configuration formatting tools may automatically transform // comments into # comments, **since the double-slash style is not idiomatic.**
    
    https://developer.hashicorp.com/terraform/language/syntax/configuration#comments
    jpenna authored Jul 25, 2024
    Configuration menu
    Copy the full SHA
    b76f070 View commit details
    Browse the repository at this point in the history