No description, website, or topics provided.
Ruby
Switch branches/tags
Nothing to show
Clone or download
Latest commit 6bfdd76 Mar 30, 2017
Permalink
Failed to load latest commit information.
lib/puppet-lint/plugins Initial commit Aug 18, 2014
spec Initial commit Aug 18, 2014
.gitignore Initial commit Aug 18, 2014
Gemfile Initial commit Aug 18, 2014
LICENSE
README.md Initial commit Aug 18, 2014
Rakefile Initial commit Aug 18, 2014
puppet-lint-trailing_newline-check.gemspec Bump to 1.1.0 Mar 30, 2017

README.md

puppet-lint plugin tutorial example code

Note, this is code is part of the puppet-lint plugin development tutorial. It should not be used as a real check and is provided as an example only.

Installation

To use this plugin, add the following like to the Gemfile in your Puppet code base and run bundle install.

gem 'puppet-lint-tutorial-check'

Usage

This plugin provides a new check to puppet-lint.

trailing_newlines

--fix support: Yes

This check will raise a warning for any files that don't end in a trailing newline.

WARNING: expected newline at the end of the file on line 56