Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

False positive on continuing lines #10

Open
ntnn opened this issue Jan 26, 2017 · 0 comments
Open

False positive on continuing lines #10

ntnn opened this issue Jan 26, 2017 · 0 comments

Comments

@ntnn
Copy link

ntnn commented Jan 26, 2017

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants