summaryrefslogtreecommitdiff
path: root/.rubocop.yml
diff options
context:
space:
mode:
authorTim Smith <tsmith@chef.io>2018-06-28 21:17:34 -0700
committerTim Smith <tsmith@chef.io>2018-07-02 09:21:23 -0700
commit896ecc78d7cb85b98f9611c73acd25c3d8728995 (patch)
treec586c8c3f0e7210502ab8a9fd00804e646bfa26e /.rubocop.yml
parentcb90ed45d4e8afa4e5899222a78b201e1d967a53 (diff)
downloadohai-896ecc78d7cb85b98f9611c73acd25c3d8728995.tar.gz
Resolve 2 unneeded sort warnings
We're trying to get the min so use min vs. sort then first. Signed-off-by: Tim Smith <tsmith@chef.io>
Diffstat (limited to '.rubocop.yml')
-rw-r--r--.rubocop.yml3
1 files changed, 3 insertions, 0 deletions
diff --git a/.rubocop.yml b/.rubocop.yml
index f1e7a135..e948a583 100644
--- a/.rubocop.yml
+++ b/.rubocop.yml
@@ -10,3 +10,6 @@ Layout/Tab:
Exclude:
- "lib/ohai/plugins/mono.rb"
- "lib/ohai/plugins/darwin/hardware.rb"
+
+Performance/UnneededSort:
+ Enabled: true