diff --git a/.rubocop.yml b/.rubocop.yml index 31706438..df90eb0b 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -1,5 +1,6 @@ require: - rubocop-rspec + - rubocop-performance AllCops: DisabledByDefault: false diff --git a/capybara.gemspec b/capybara.gemspec index 10886035..0690d976 100644 --- a/capybara.gemspec +++ b/capybara.gemspec @@ -44,6 +44,7 @@ Gem::Specification.new do |s| s.add_development_dependency('rake') s.add_development_dependency('rspec', ['>= 3.5.0']) s.add_development_dependency('rubocop') + s.add_development_dependency('rubocop-performance') s.add_development_dependency('rubocop-rspec') s.add_development_dependency('selenium-webdriver', ['~>3.5']) s.add_development_dependency('selenium_statistics')