atom / language-puppet

Puppet package for Atom
Other
36 stars 31 forks source link

Indents of => are not aligned #15

Closed fazlearefin closed 5 years ago

fazlearefin commented 9 years ago

=> are not automatically aligned.

This is what I get in atom:

class myssh {
  file { 'ssh_config.conf':
    ensure => file,
    mode => '0644',
    owner => 'root',
    ensure => 'file',
    target => '/etc/ssh/ssh_config',
  }
  # more code...
}

And this is what I am expecting (when typing a new => the alignment for all the => in that block should be adjusted so that they are all in one single column):

class myssh {
  file { 'ssh_config.conf':
    ensure => file,
    mode   => '0644',
    owner  => 'root',
    ensure => 'file',
    target => '/etc/ssh/ssh_config',
  }
  # more code...
}

See https://docs.puppetlabs.com/guides/style_guide.html#arrow-alignment

helenes-r7 commented 8 years ago

I'm also experiencing this issue. I see there was an attempt to fix this earlier this year, so I'm not sure if it's a misconfiguration on my end. I've only installed the Atom packages language-puppet and linter-puppet-lint.