Merge pull request #426 from puppetlabs/pdksync_PDK_UPDATE
pdksync - (maint) - Pdk Update
This commit is contained in:
@@ -40,6 +40,10 @@ Style/BlockDelimiters:
|
|||||||
Description: Prefer braces for chaining. Mostly an aesthetical choice. Better to
|
Description: Prefer braces for chaining. Mostly an aesthetical choice. Better to
|
||||||
be consistent then.
|
be consistent then.
|
||||||
EnforcedStyle: braces_for_chaining
|
EnforcedStyle: braces_for_chaining
|
||||||
|
Style/BracesAroundHashParameters:
|
||||||
|
Description: Braces are required by Ruby 2.7. Cop removed from RuboCop v0.80.0.
|
||||||
|
See https://github.com/rubocop-hq/rubocop/pull/7643
|
||||||
|
Enabled: true
|
||||||
Style/ClassAndModuleChildren:
|
Style/ClassAndModuleChildren:
|
||||||
Description: Compact style reduces the required amount of indentation.
|
Description: Compact style reduces the required amount of indentation.
|
||||||
EnforcedStyle: compact
|
EnforcedStyle: compact
|
||||||
|
|||||||
2
.vscode/extensions.json
vendored
2
.vscode/extensions.json
vendored
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"recommendations": [
|
"recommendations": [
|
||||||
"jpogran.puppet-vscode",
|
"puppet.puppet-vscode",
|
||||||
"rebornix.Ruby"
|
"rebornix.Ruby"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -81,6 +81,6 @@
|
|||||||
}
|
}
|
||||||
],
|
],
|
||||||
"template-url": "https://github.com/puppetlabs/pdk-templates#master",
|
"template-url": "https://github.com/puppetlabs/pdk-templates#master",
|
||||||
"template-ref": "1.17.0-0-gd3a4319",
|
"template-ref": "heads/master-0-g095317c",
|
||||||
"pdk-version": "1.17.0"
|
"pdk-version": "1.17.0"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -42,6 +42,7 @@ RSpec.configure do |c|
|
|||||||
# set to strictest setting for testing
|
# set to strictest setting for testing
|
||||||
# by default Puppet runs at warning level
|
# by default Puppet runs at warning level
|
||||||
Puppet.settings[:strict] = :warning
|
Puppet.settings[:strict] = :warning
|
||||||
|
Puppet.settings[:strict_variables] = true
|
||||||
end
|
end
|
||||||
c.filter_run_excluding(bolt: true) unless ENV['GEM_BOLT']
|
c.filter_run_excluding(bolt: true) unless ENV['GEM_BOLT']
|
||||||
c.after(:suite) do
|
c.after(:suite) do
|
||||||
|
|||||||
Reference in New Issue
Block a user