diff options
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: |