Add rubocop-performance

This feature was moved from rubocop to this gem.
This commit is contained in:
Daniel Schädler 2019-05-07 11:46:04 +02:00
parent 1ad60c7145
commit f2eaee1b00
3 changed files with 6 additions and 0 deletions

View File

@ -1,3 +1,5 @@
require: rubocop-performance
# Stolen from https://gist.github.com/jhass/a5ae80d87f18e53e7b56 # Stolen from https://gist.github.com/jhass/a5ae80d87f18e53e7b56
AllCops: AllCops:
Exclude: Exclude:

View File

@ -55,6 +55,7 @@ group :development do
# Spring speeds up development by keeping your application running in the background. Read more: https://github.com/rails/spring # Spring speeds up development by keeping your application running in the background. Read more: https://github.com/rails/spring
gem 'railroady' gem 'railroady'
gem 'rubocop' gem 'rubocop'
gem 'rubocop-performance'
gem 'solargraph' gem 'solargraph'
gem 'spring' gem 'spring'
gem 'spring-watcher-listen', '~> 2.0.0' gem 'spring-watcher-listen', '~> 2.0.0'

View File

@ -186,6 +186,8 @@ GEM
rainbow (>= 2.2.2, < 4.0) rainbow (>= 2.2.2, < 4.0)
ruby-progressbar (~> 1.7) ruby-progressbar (~> 1.7)
unicode-display_width (>= 1.4.0, < 1.6) unicode-display_width (>= 1.4.0, < 1.6)
rubocop-performance (1.2.0)
rubocop (>= 0.68.0)
ruby-progressbar (1.10.0) ruby-progressbar (1.10.0)
ruby_dep (1.5.0) ruby_dep (1.5.0)
shoulda-matchers (4.0.1) shoulda-matchers (4.0.1)
@ -257,6 +259,7 @@ DEPENDENCIES
rails (~> 5.2.1) rails (~> 5.2.1)
rspec-rails rspec-rails
rubocop rubocop
rubocop-performance
shoulda-matchers shoulda-matchers
solargraph solargraph
spring spring