Skip to content
This repository has been archived by the owner on Nov 30, 2020. It is now read-only.

jgreat/vscode-puppetlinter

Repository files navigation

Deprecated - PuppetLinter

This project has been combined with Puppet extension. Please install that instead.

Runs puppet-lint on save.

Requirements

puppet-lint ruby gem http://puppet-lint.com/

sudo gem install puppet-lint

Disable Checks

To disable various checks, create a ~/.puppet-lint.rc file. Add switches, one per line. For full list of switches run puppet-lint --help

--no-80chars-check
--no-case_without_default-check

Puppet .pp File Detection

There is a vscode bug filed for Ruby taking .pp file association by default: microsoft/vscode#5366

When that bug is fixed, just installing this module should work. Until then add the following to your User Preferences json.

"files.associations": {
        "*.pp": "puppet"
}

Changelog

  • 0.1.1 - Update metadata and add icon.
  • 0.0.1 - First version. Provide basic linting via puppet-lint.

Acknowledgements

All props go to the excelent tutorial by hoovercj on github: https://github.com/hoovercj/vscode-extension-tutorial

Contributing

Please do. Fork the github repo and submit a PR.

About

Puppet linter extension for vscode.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published