summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Smith <tsmith@chef.io>2018-11-24 14:10:34 -0800
committerTim Smith <tsmith@chef.io>2018-11-24 14:10:34 -0800
commit534b36d51ef9b48dac7fae6dd563e3e41d0f85f5 (patch)
tree43514dd93d282c479eba33a6edec64e35e919748
parent35f32a12f756c50a9cfd17ab9224853c2161fc0e (diff)
downloadohai-534b36d51ef9b48dac7fae6dd563e3e41d0f85f5.tar.gz
Bump Rubocop to the 2.5 engine
Signed-off-by: Tim Smith <tsmith@chef.io>
-rw-r--r--.rubocop.yml6
1 files changed, 4 insertions, 2 deletions
diff --git a/.rubocop.yml b/.rubocop.yml
index 18cbf0d7..059ac238 100644
--- a/.rubocop.yml
+++ b/.rubocop.yml
@@ -1,4 +1,5 @@
AllCops:
+ TargetRubyVersion: 2.5
Exclude:
- "spec/data/**/*"
- "vendor/**/*"
@@ -10,5 +11,6 @@ Layout/Tab:
- "lib/ohai/plugins/mono.rb"
- "lib/ohai/plugins/darwin/hardware.rb"
-Performance/UnneededSort:
- Enabled: true
+# this can cause failures that we need to look at one by one
+Performance/RegexpMatch:
+ Enabled: false