Add rubocop-performance

This commit is contained in:
Klaus Zanders
2023-09-05 13:40:39 +02:00
parent 6be30df2db
commit 7a3c3bbc2d
3 changed files with 6 additions and 0 deletions
+1
View File
@@ -5,6 +5,7 @@ require:
- ./lib_static/rubocop/cop/open_project/use_service_result_factory_methods.rb
- rubocop-capybara
- rubocop-factory_bot
- rubocop-performance
<% if File.exist?('.rubocop-local.yml') %>
inherit_from:
+1
View File
@@ -308,6 +308,7 @@ group :development, :test do
gem 'rubocop', require: false
gem 'rubocop-rails', require: false
gem 'rubocop-rspec', require: false
gem 'rubocop-performance', require: false
# Brakeman scanner
gem 'brakeman', '~> 6.0.0'
+4
View File
@@ -858,6 +858,9 @@ GEM
rubocop (~> 1.41)
rubocop-factory_bot (2.23.1)
rubocop (~> 1.33)
rubocop-performance (1.19.0)
rubocop (>= 1.7.0, < 2.0)
rubocop-ast (>= 0.4.0)
rubocop-rails (2.20.2)
activesupport (>= 4.2.0)
rack (>= 1.1)
@@ -1135,6 +1138,7 @@ DEPENDENCIES
rspec-rails (~> 6.0.0)
rspec-retry (~> 0.6.1)
rubocop
rubocop-performance
rubocop-rails
rubocop-rspec
ruby-duration (~> 3.2.0)