Skip to content

pre-commit-plugins/pre-commit-puppet

Repository files navigation

puppet plugin for https://github.com/jish/pre-commit

Current version Code Climate Coverage Status Build status Dependency Status Documentation

Installation

Install the plugin

$ gem install pre-commit-puppet

Enable as errors

Use the pre-commit command to enable the plugin

# In your git repo
$ pre-commit enable yaml checks puppet

This creates a config/pre_commit.yml configuratiuon file which will inform pre-commit to use pre-commit-php plugin for this project.

Enable as warnings

Use the pre-commit command to enable the plugin

# In your git repo
$ pre-commit enable yaml warnings puppet