Issue #15090 has been reported by micah -.

----------------------------------------
Bug #15090: emacs mode doesn't match style guide when formatting fat comma 
arrows
https://projects.puppetlabs.com/issues/15090

Author: micah -
Status: Unreviewed
Priority: Normal
Assignee: 
Category: ext
Target version: 
Affected Puppet version: 
Keywords: 
Branch: 


according to section 9.2 of the style-guide 
(http://docs.puppetlabs.com/guides/style_guide#arrow-alignment), "All of the 
fat comma arrows (=>) in a resource’s attribute/value list should be aligned. 
The arrows should be placed one space ahead of the longest attribute name."

The emacs mode does not do this, for example:

<pre>

  file { '/etc/rcS.d/S02cleanutmp':
    ensure => absent,
    content => '#!/bin/sh\n rm /var/run/utmp\n';
  }
</pre>

the above was formatted with the emacs mode, but will receive complaints from 
puppet-lint due to the => on the ensure parameter line not matching up with the 
content parameter.


-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://projects.puppetlabs.com/my/account

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Bugs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/puppet-bugs?hl=en.

Reply via email to