No release in over a year
An opinionated puppet lint check for checking if the last line of a comment is blank.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

Runtime

 Project Readme

Puppet lint last comment line check

This checks whether the last line in a class comment is an empty line

# @param mandatory
#   A mandatory parameter
# @option mandatory [String] hashkey
#   A key of the hash "mandatory" named "hashkey".
#
# @param withdefault
#   A parameter with a default value
#
# @param optional
#   An optional parameter
#
class my_class {
    Hash $mandatory,
    Boolean $withdefault = false,
    Optional[String] $optional = undef,

Usage

To use the plugin, add the following line to the Gemfile:

gem 'puppet-lint-last_comment_line-check'