mirror of
https://github.com/opf/openproject.git
synced 2026-06-13 19:20:00 +00:00
Add rubocop-performance
This commit is contained in:
@@ -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:
|
||||
|
||||
@@ -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'
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user