voxpupuli / puppet-lint-strict_indent-check

indent check for puppet-lint
Mozilla Public License 2.0
4 stars 11 forks source link

False positive on continuing lines #10

Open ntnn opened 7 years ago

ntnn commented 7 years ago

Given the following file:

class example {

    $_first = 'example'

    notify { $_first: }

    $_second = $_first
        .regsubst('exam', 'ap')

    notify { $_second: }

}

Expected: No errors Result: Indent warning on the indented regsubst:

$> puppet-lint ./test.pp
ERROR: example not in autoload module layout on line 1
WARNING: class not documented on line 1
WARNING: indent should be 4 chars and is 8 on line 8