mirror of
https://ghproxy.net/https://github.com/Chassis/puppet-wp.git
synced 2026-07-26 13:07:45 +08:00
18 lines
912 B
Ruby
18 lines
912 B
Ruby
# frozen_string_literal: true
|
|
|
|
require 'bundler'
|
|
require 'puppet_litmus/rake_tasks' if Gem.loaded_specs.key? 'puppet_litmus'
|
|
require 'puppetlabs_spec_helper/rake_tasks'
|
|
require 'puppet-syntax/tasks/puppet-syntax'
|
|
require 'puppet-strings/tasks' if Gem.loaded_specs.key? 'puppet-strings'
|
|
|
|
PuppetLint.configuration.send('disable_relative')
|
|
PuppetLint.configuration.send('disable_80chars')
|
|
PuppetLint.configuration.send('disable_140chars')
|
|
PuppetLint.configuration.send('disable_class_inherits_from_params_class')
|
|
PuppetLint.configuration.send('disable_autoloader_layout')
|
|
PuppetLint.configuration.send('disable_documentation')
|
|
PuppetLint.configuration.send('disable_single_quote_string_with_variables')
|
|
PuppetLint.configuration.fail_on_warnings = true
|
|
PuppetLint.configuration.ignore_paths = [".vendor/**/*.pp", ".bundle/**/*.pp", "pkg/**/*.pp", "spec/**/*.pp", "tests/**/*.pp", "types/**/*.pp", "vendor/**/*.pp"]
|
|
|