You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Style guide section 9.2 specifies two distinct requirements:
All of the fat comma arrows [...] should be aligned.
The arrows should be placed one space ahead of the longest attribute name.
I propose that separate checks be added (in addition to arrow_alignment, which would combine the two) in order to give the user granular control to enforce one requirement but not the other.
Is this something that would be acceptable to add to the core of puppet-lint? Would a check that is only for fat comma alignment be suitable for a community plugin? Is this even the right place to be asking these questions? (Sorry, I'm new here)
The text was updated successfully, but these errors were encountered:
Hopefully if you did one you would also do the other, though currently you likely just ignore both since they are coupled as one check. This would give people the ability to choose which bits of the style guide to follow or ignore at a more granular level.
@hgoodman It's been a while since you submitted this. Are you still interested in pursuing this, or have you found other custom checks that address this already?
I still think it's a good idea since I prefer to align not just fat arrows within a resource declaration, but also across related resource declarations.
That being said, I haven't done much Puppet development lately, so personally speaking, I'm somewhat indifferent.
I think this would be good but is unlikely to be developed currently without a volunteer so I am closing it. Please feel free to re-open it if you have the time @hgoodman. Thanks!
Style guide section 9.2 specifies two distinct requirements:
I propose that separate checks be added (in addition to arrow_alignment, which would combine the two) in order to give the user granular control to enforce one requirement but not the other.
Is this something that would be acceptable to add to the core of puppet-lint? Would a check that is only for fat comma alignment be suitable for a community plugin? Is this even the right place to be asking these questions? (Sorry, I'm new here)
The text was updated successfully, but these errors were encountered: