An open API service indexing awesome lists of open source software.

https://github.com/dodevops/puppet-lint-last_comment_line-check

An opinionated puppet lint check for checking if the last line of a comment is blank
https://github.com/dodevops/puppet-lint-last_comment_line-check

Last synced: 2 months ago
JSON representation

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

Awesome Lists containing this 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'