summaryrefslogtreecommitdiff
path: root/.rubocop.yml
diff options
context:
space:
mode:
authorTim Smith <tsmith84@gmail.com>2021-01-26 11:35:08 -0800
committerTim Smith <tsmith84@gmail.com>2021-01-26 15:06:04 -0800
commit4a9f3fc42f29cbd1d018a524daaf214fe19182ab (patch)
treec36d6a37047aa900f65274c673142c86799ebce4 /.rubocop.yml
parentd071e751d3df6015cb6995be6de0ddaf040a558a (diff)
downloadchef-4a9f3fc42f29cbd1d018a524daaf214fe19182ab.tar.gz
Update Chefstyle to the latest
Signed-off-by: Tim Smith <tsmith@chef.io>
Diffstat (limited to '.rubocop.yml')
-rw-r--r--.rubocop.yml10
1 files changed, 10 insertions, 0 deletions
diff --git a/.rubocop.yml b/.rubocop.yml
index b4fac0c953..26d10359c5 100644
--- a/.rubocop.yml
+++ b/.rubocop.yml
@@ -32,6 +32,16 @@ Lint/DeprecatedConstants:
Exclude:
- chef/lib/chef/node/attribute.rb # false alarms
+
+# This cop shouldn't alert on the helper / specs itself
+Chef/Ruby/LegacyPowershellOutMethods:
+ Exclude:
+ - 'lib/chef/mixin/powershell_out.rb'
+ - 'spec/functional/mixin/powershell_out_spec.rb'
+ - 'spec/unit/mixin/powershell_out_spec.rb'
+ - 'lib/chef/resource/windows_feature_powershell.rb' # https://github.com/chef/chef/issues/10927
+ - 'lib/chef/provider/package/powershell.rb' # https://github.com/chef/chef/issues/10926
+
# set additional paths
Chef/Ruby/UnlessDefinedRequire:
Include: