Skip to content

Commit

Permalink
feat: re-enable by puppetlabs disabled puppet-lint checks
Browse files Browse the repository at this point in the history
Signed-off-by: Robert Waffen <rwaffen@gmail.com>
  • Loading branch information
rwaffen committed Sep 2, 2024
1 parent fd3d03f commit 043453d
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions voxbox/Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,19 @@ require 'voxpupuli/release/rake_tasks'
require 'ra10ke'

Ra10ke::RakeTask.new

# re-enable by puppetlabs disabled checks from puppetlabs/spec_helper
# see: https://github.com/puppetlabs/puppetlabs_spec_helper/blob/70de49db0a242f83e9ff39ea8a03c830339f8368/lib/puppetlabs_spec_helper/rake_tasks.rb#L169-L177

puppet_lint_enable_checks = %w[
140chars
class_inherits_from_params_class
class_parameter_defaults
autoloader_layout
documentation
single_quote_string_with_variables
]

puppet_lint_enable_checks.each do |check|
PuppetLint.configuration.send(:"enable_#{check}")
end

0 comments on commit 043453d

Please sign in to comment.