Skip to content

.puppet-lint.rc is ignored in module directories #804

@bastelfreak

Description

@bastelfreak

What Versions are you running?

OS Version: Windows 10
VSCode Version: 1.63.2
Puppet Extension Version:1.4.0
PDK Version: 2.3.0

What You Are Seeing?

I've my control repo cloned + all modules into that and the control repository is my workspace in vscode. Most modules have their own .puppet-lint.rc in their root directory with individual checks. VS Code with the Puppet extension seems to ignore them. I think it only reads the .puppet-lint.rc from the first directory in my workspace. But I currently have a hard time reproducing it.

What is Expected?

I would expect that the individual .puppet-lint.rc files are honored. This was mentioned in #111 but I don't understand the fix. Is it possible that I need to configure anything on my side or is this expected to work out of the box?

How Did You Get This To Happen? (Steps to Reproduce)

  • checkout a few modules with .puppet-lint.rc files
  • add them to the vscode workspace
  • see warnings from the plugins if code is wrong

Output Log

It's an airgapped environment where I saw this. I will try to reproduce this in the next days and provide logs if possible.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions