Visual Studio Code Extension to support Puppet language, snippets and linting.
MIT License
The Puppet Extension for Visual Studio Code offers rich language support for Puppet DSL, snippets, and linter for Visual Studio Code.
This extension relies on puppet-lint to check your Puppet code. Use Ruby gem
to install:
sudo gem install puppet-lint
Checks are performed via puppet-lint
. To enable or disable certain checks different from default create a ~/.puppet-lint.rc
file in project root. Add switches, one per line. For full list of switches run puppet-lint --help
.
Example:
--no-80chars-check
--no-case_without_default-check
Contributions are welcomed. Feel free to add issues and pull requests :-)
Thanks to all contributors:
This extension was created as a fork from blindly/vscode-puppet to integrate bugfixes. A future merge with the original project is still possible.