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 5823b51329c5539eb6ff6790245e971c41829046..f5d3d4c19bf1ac03803fe9c3112f14a2e765dc87 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 b701698701ae715aba9cfc4226332e28f89741e3..078ade7b28208ecb54a275e5674974853b47f491 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 896e1606d7f79ac904de13d31c45d49c66b6abf1..9ca0bd89da1b14fffb051363b91c6ffb56cf29df 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