summaryrefslogtreecommitdiff
path: root/.rubocop.yml
diff options
context:
space:
mode:
authorTim Smith <tsmith84@gmail.com>2020-09-08 12:07:49 -0700
committerTim Smith <tsmith84@gmail.com>2020-09-08 12:07:49 -0700
commit5fd33555791c3372948f5c130faadcd8dbfeb9aa (patch)
tree84ab75e2f528821787237d8cd831acee66b8f563 /.rubocop.yml
parentb624c5a1622a130dcb7c9432aa4f6971af456914 (diff)
downloadohai-5fd33555791c3372948f5c130faadcd8dbfeb9aa.tar.gz
Updates for the new perf cops
Signed-off-by: Tim Smith <tsmith@chef.io>
Diffstat (limited to '.rubocop.yml')
-rw-r--r--.rubocop.yml4
1 files changed, 4 insertions, 0 deletions
diff --git a/.rubocop.yml b/.rubocop.yml
index 425a9e8c..9f82e5e8 100644
--- a/.rubocop.yml
+++ b/.rubocop.yml
@@ -1,6 +1,7 @@
require: rubocop-performance
AllCops:
+ NewCops: enable
TargetRubyVersion: 2.5
Exclude:
- "spec/data/**/*"
@@ -14,4 +15,7 @@ Layout/IndentationStyle:
- "lib/ohai/plugins/darwin/hardware.rb"
Performance/Caller:
+ Enabled: false
+
+Performance/CollectionLiteralInLoop:
Enabled: false \ No newline at end of file