Skip to content

dodevops/puppet-lint-last_comment_line-check

Repository files navigation

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'

About

An opinionated puppet lint check for checking if the last line of a comment is blank

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages