Skip to content

False alignment positives #21

Description

@adamgibbins

Getting loads of them since (I think) a recent update.
Examples:

 177   File {
 178     owner   => root,
 179     group   => root,
 180   }

WARNING: => on line 179 isn't aligned with the previous line

 135     ensure => $ensure ? {
 136       present => directory,
 137       absent  => undef,
 138     },
 139     owner  => 'foo4',
 140     group  => 'foo4',
 141     mode   => '0755',

WARNING: => on line 140 isn't aligned with the previous line
WARNING: => on line 141 isn't aligned with the previous line

  80   file { '/foo/.bar':
  81     source  => 'puppet:///modules/foo/.bar',
  82     owner   => 'root',
  83     group   => 'foo4',
  84     require => Class['foo::install']
  85   }

WARNING: => on line 82 isn't aligned with the previous line
WARNING: => on line 83 isn't aligned with the previous line
WARNING: => on line 84 isn't aligned with the previous line

Tested using Lint 0.1.0, Puppet 2.7.3

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions