puppet-lint
puppet-lint copied to clipboard
Feature request - align class parameters
I'd love if linter aligned parameters/variables in class definitions the way it aligns arrows. Example:
class mycompany::myprofiles::myclass (
$var1 = 'default',
$varother2 = hiera('mycompany::myprofiles::myclass::myvar2'),
$var3 = 'something else',
) {
...
}
should be aligned as:
class mycompany::myprofiles::myclass (
$var1 = 'default',
$varother2 = hiera('mycompany::myprofiles::myclass::myvar2'),
$var3 = 'something else',
) {
...
}
https://github.com/puppetlabs/puppet-docs/pull/723
Any update on this?
I'd like this also +1
+1
Just bumped into this. I would love it for consistency with the alignment behaviour with Hash rockets.
I think anhpt379/puppet-lint-class_alignment-check implements this.