Add rubocop-rails

This commit is contained in:
Daniel Schädler 2019-05-23 15:03:16 +02:00
parent 0c480b1deb
commit 26ebce7b00
3 changed files with 8 additions and 1 deletions

View File

@ -1,4 +1,6 @@
require: rubocop-performance
require:
- rubocop-performance
- rubocop-rails
# Stolen from https://gist.github.com/jhass/a5ae80d87f18e53e7b56
AllCops:

View File

@ -58,6 +58,7 @@ group :development do
gem 'railroady'
gem 'rubocop'
gem 'rubocop-performance'
gem 'rubocop-rails'
gem 'solargraph'
gem 'spring'
gem 'spring-watcher-listen', '~> 2.0.0'

View File

@ -204,6 +204,9 @@ GEM
unicode-display_width (>= 1.4.0, < 1.7)
rubocop-performance (1.3.0)
rubocop (>= 0.68.0)
rubocop-rails (2.0.0)
rack (>= 2.0)
rubocop (>= 0.70.0)
ruby-progressbar (1.10.0)
ruby_dep (1.5.0)
shoulda-matchers (4.0.1)
@ -281,6 +284,7 @@ DEPENDENCIES
rspec-rails
rubocop
rubocop-performance
rubocop-rails
shoulda-matchers
solargraph
spring