From 4cfa5b23e136a8514d4bd999f4bd1fd6558c1c2a Mon Sep 17 00:00:00 2001 From: david22swan Date: Wed, 20 Apr 2022 14:07:53 +0100 Subject: [PATCH] (GH-cat-9) syntax:hiera:yaml exclusions added --- .puppet-lint.rc | 8 ++++++++ .sync.yml | 10 ++++++++++ Rakefile | 9 ++++++++- metadata.json | 2 +- 4 files changed, 27 insertions(+), 2 deletions(-) diff --git a/.puppet-lint.rc b/.puppet-lint.rc index cc96ece..b08b272 100644 --- a/.puppet-lint.rc +++ b/.puppet-lint.rc @@ -1 +1,9 @@ --relative +--no-top_scope_facts-check +--no-topscope_variable-check +--no-relative_classname_inclusion-check +--no-parameter_documentation-check +--no-anchor_resource-check +--no-strict_indent-check +--no-unquoted_string_in_case-check +--no-optional_default-check diff --git a/.sync.yml b/.sync.yml index 8e8bd2c..07742d2 100644 --- a/.sync.yml +++ b/.sync.yml @@ -31,3 +31,13 @@ spec/spec_helper.rb: .travis.yml: delete: true changelog_since_tag: '5.0.1' +Rakefile: + extra_disabled_lint_checks: + - top_scope_facts + - topscope_variable + - relative_classname_inclusion + - parameter_documentation + - anchor_resource + - strict_indent + - unquoted_string_in_case + - optional_default diff --git a/Rakefile b/Rakefile index 1d5195f..df1e6ec 100644 --- a/Rakefile +++ b/Rakefile @@ -42,6 +42,14 @@ def changelog_future_release end PuppetLint.configuration.send('disable_relative') +PuppetLint.configuration.send('disable_top_scope_facts') +PuppetLint.configuration.send('disable_topscope_variable') +PuppetLint.configuration.send('disable_relative_classname_inclusion') +PuppetLint.configuration.send('disable_parameter_documentation') +PuppetLint.configuration.send('disable_anchor_resource') +PuppetLint.configuration.send('disable_strict_indent') +PuppetLint.configuration.send('disable_unquoted_string_in_case') +PuppetLint.configuration.send('disable_optional_default') if Bundler.rubygems.find_name('github_changelog_generator').any? @@ -50,7 +58,6 @@ if Bundler.rubygems.find_name('github_changelog_generator').any? config.user = "#{changelog_user}" config.project = "#{changelog_project}" config.since_tag = "5.0.1" - config.max_issues = 500 config.future_release = "#{changelog_future_release}" config.exclude_labels = ['maintenance'] config.header = "# Change log\n\nAll notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](http://semver.org)." diff --git a/metadata.json b/metadata.json index 0a5113f..f351a0c 100644 --- a/metadata.json +++ b/metadata.json @@ -38,5 +38,5 @@ ], "template-url": "https://github.com/puppetlabs/pdk-templates.git#main", "template-ref": "heads/main-0-g806810b", - "pdk-version": "2.3.0" + "pdk-version": "2.4.0" } -- 2.45.2