This project has been combined with Puppet extension. Please install that instead.
Runs puppet-lint on save.
puppet-lint ruby gem http://puppet-lint.com/
sudo gem install puppet-lint
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
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"
}
- 0.1.1 - Update metadata and add icon.
- 0.0.1 - First version. Provide basic linting via puppet-lint.
All props go to the excelent tutorial by hoovercj on github: https://github.com/hoovercj/vscode-extension-tutorial
Please do. Fork the github repo and submit a PR.