diff options
author | Tim Smith <tsmith84@gmail.com> | 2021-01-26 11:27:44 -0800 |
---|---|---|
committer | Tim Smith <tsmith84@gmail.com> | 2021-01-26 11:27:44 -0800 |
commit | d071e751d3df6015cb6995be6de0ddaf040a558a (patch) | |
tree | 83765720940dcb9e496e58a3c8f38fcebc2f1038 | |
parent | 4dd4801b18591143ae8fee95c0e9804d8c5de177 (diff) | |
download | chef-d071e751d3df6015cb6995be6de0ddaf040a558a.tar.gz |
Enable Deprecated Constants Cop
This is something we should keep and eye out for, but there's some false positives in the attributes class to avoid.
Signed-off-by: Tim Smith <tsmith@chef.io>
-rw-r--r-- | .rubocop.yml | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/.rubocop.yml b/.rubocop.yml index a02da9fa32..b4fac0c953 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -27,6 +27,10 @@ Lint/InterpolationCheck: Exclude: - 'spec/unit/property_spec.rb' - 'spec/functional/shell_spec.rb' +Lint/DeprecatedConstants: + Enabled: true + Exclude: + - chef/lib/chef/node/attribute.rb # false alarms # set additional paths Chef/Ruby/UnlessDefinedRequire: |