diff options
author | Tim Smith <tsmith84@gmail.com> | 2021-01-26 11:35:08 -0800 |
---|---|---|
committer | Tim Smith <tsmith84@gmail.com> | 2021-01-26 15:06:04 -0800 |
commit | 4a9f3fc42f29cbd1d018a524daaf214fe19182ab (patch) | |
tree | c36d6a37047aa900f65274c673142c86799ebce4 /.rubocop.yml | |
parent | d071e751d3df6015cb6995be6de0ddaf040a558a (diff) | |
download | chef-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.yml | 10 |
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: |