add rupocop-rails and rubocop-rspec (#8998)

This commit is contained in:
ulferts
2021-02-12 10:38:03 +01:00
committed by GitHub
parent 226ba35985
commit 8ab0732bc4
3 changed files with 15 additions and 1 deletions
+4 -1
View File
@@ -1,9 +1,12 @@
require:
- rubocop-rails
- rubocop-rspec
AllCops:
TargetRubyVersion: 2.7
Exclude:
- db/schema.rb
Layout/ConditionPosition:
Enabled: false
+2
View File
@@ -250,6 +250,8 @@ group :development do
gem 'spring-commands-rspec'
gem 'rubocop'
gem 'rubocop-rails'
gem 'rubocop-rspec'
# Gems for living styleguide
gem 'livingstyleguide', '~> 2.1.0'
+9
View File
@@ -799,6 +799,13 @@ GEM
unicode-display_width (>= 1.4.0, < 3.0)
rubocop-ast (1.4.1)
parser (>= 2.7.1.5)
rubocop-rails (2.9.1)
activesupport (>= 4.2.0)
rack (>= 1.1)
rubocop (>= 0.90.0, < 2.0)
rubocop-rspec (2.2.0)
rubocop (~> 1.0)
rubocop-ast (>= 1.1.0)
ruby-duration (3.2.3)
activesupport (>= 3.0.0)
i18n
@@ -1050,6 +1057,8 @@ DEPENDENCIES
rspec-rails (~> 4.0.0)
rspec-retry (~> 0.6.1)
rubocop
rubocop-rails
rubocop-rspec
ruby-duration (~> 3.2.0)
ruby-prof
ruby-progressbar (~> 1.11.0)