Add rubocop-performance
authorTom Hughes <tom@compton.nu>
Wed, 24 Apr 2019 20:13:06 +0000 (21:13 +0100)
committerTom Hughes <tom@compton.nu>
Wed, 24 Apr 2019 20:13:56 +0000 (21:13 +0100)
.rubocop.yml
Gemfile
Gemfile.lock

index 5823b51..f5d3d4c 100644 (file)
@@ -1,5 +1,7 @@
 inherit_from: .rubocop_todo.yml
 
+require: rubocop-performance
+
 AllCops:
   TargetRubyVersion: 2.3
 
diff --git a/Gemfile b/Gemfile
index b701698..078ade7 100644 (file)
--- a/Gemfile
+++ b/Gemfile
@@ -3,5 +3,6 @@ source "https://rubygems.org"
 gem "foodcritic"
 gem "kitchen-vagrant"
 gem "rubocop"
+gem "rubocop-performance"
 gem "serverspec"
 gem "test-kitchen"
index 896e160..9ca0bd8 100644 (file)
@@ -86,6 +86,8 @@ GEM
       rainbow (>= 2.2.2, < 4.0)
       ruby-progressbar (~> 1.7)
       unicode-display_width (>= 1.4.0, < 1.6)
+    rubocop-performance (1.1.0)
+      rubocop (>= 0.67.0)
     ruby-progressbar (1.10.0)
     rubyntlm (0.6.2)
     rubyzip (1.2.2)
@@ -142,6 +144,7 @@ DEPENDENCIES
   foodcritic
   kitchen-vagrant
   rubocop
+  rubocop-performance
   serverspec
   test-kitchen