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
- Host: GitHub
- URL: https://github.com/dodevops/puppet-lint-last_comment_line-check
- Owner: dodevops
- License: mit
- Created: 2023-09-05T08:10:45.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2023-09-05T10:51:04.000Z (almost 3 years ago)
- Last Synced: 2025-02-18T11:45:26.992Z (over 1 year ago)
- Language: Ruby
- Size: 3.91 KB
- Stars: 0
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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'