From ae8d9efeb3ee5bc631f2e921688da8cb47e576b2 Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Wed, 24 Apr 2019 21:13:06 +0100 Subject: [PATCH] Add rubocop-performance --- .rubocop.yml | 2 ++ Gemfile | 1 + Gemfile.lock | 3 +++ 3 files changed, 6 insertions(+) diff --git a/.rubocop.yml b/.rubocop.yml index 5823b5132..f5d3d4c19 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -1,5 +1,7 @@ inherit_from: .rubocop_todo.yml +require: rubocop-performance + AllCops: TargetRubyVersion: 2.3 diff --git a/Gemfile b/Gemfile index b70169870..078ade7b2 100644 --- 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" diff --git a/Gemfile.lock b/Gemfile.lock index 896e1606d..9ca0bd89d 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -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 -- 2.39.5