Replies: 1 comment
-
At this time the You're of course free to implement your own ruleset plugin. If you publish one, it would be great if you'd share the URL here in case others are looking for a similar rule. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Introduction
Uneven commas can make terraform code confusing. On dictionaries, they should either be on all or none.
I would expect that
tflint
would raise an warning on this snippet of code:I would expect the
two
line to be flagged as the rest of the lines do not have commas.Proposal
The rule should take these values:
all
: All dictionary entries should end in a comma.none
: All dictionary entries should not end in a comma.match
: All the dictionary entries in a given dictionary should be the same; either all commas or all without commas.References
None
Beta Was this translation helpful? Give feedback.
All reactions