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

Linting does not use .puppet-lint.rc #304

Closed
setaou opened this issue Jul 3, 2018 · 3 comments
Closed

Linting does not use .puppet-lint.rc #304

setaou opened this issue Jul 3, 2018 · 3 comments

Comments

@setaou
Copy link

setaou commented Jul 3, 2018

What Versions are you running?

OS Version: Ubuntu 18.04
VSCode Version: 1.24.1
Puppet Extension Version: 0.10.0
Puppet Agent Version: 4.10.4

What You Are Seeing?

I have a .puppet-lint.rc file at the root of my workspace containing only the following line :
--no-140chars-check

If I use the puppet-lint command from a terminal, it uses this config file and ignores the warnings about long lines. However, the linting in vscode still shows the warnings.

What is Expected?

The linting in vscode should enforce the options set in .puppet-lint.rc.

@glennsarti
Copy link
Contributor

Is this inside a module or control repository?

@setaou
Copy link
Author

setaou commented Jul 4, 2018

It is at the root of the repository (which is the whole /etc/puppet).

@glennsarti
Copy link
Contributor

Migrated this to editor services -
puppetlabs/puppet-editor-services#43

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants