Skip to content

Commit 35fa27c

Browse files
committed
deps: Add rubocop-factory_bot and rubocop-rspec_rails.
1 parent 96d51f0 commit 35fa27c

File tree

3 files changed

+13
-0
lines changed

3 files changed

+13
-0
lines changed

.rubocop.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
11
inherit_from: .rubocop_todo.yml
22

33
plugins:
4+
- rubocop-factory_bot
45
- rubocop-rails
56
- rubocop-rspec
7+
- rubocop-rspec_rails
68

79
# Use double-quotes instead of single-quotes
810
# Double quotes allow for string interpolation, so we enforce

Gemfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,8 +114,10 @@ group :development do
114114

115115
# Linting
116116
gem "rubocop"
117+
gem "rubocop-factory_bot"
117118
gem "rubocop-rails"
118119
gem "rubocop-rspec"
120+
gem "rubocop-rspec_rails"
119121
end
120122

121123
# Development/Test shared dependencies

Gemfile.lock

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -370,6 +370,9 @@ GEM
370370
rubocop-ast (1.48.0)
371371
parser (>= 3.3.7.2)
372372
prism (~> 1.4)
373+
rubocop-factory_bot (2.28.0)
374+
lint_roller (~> 1.1)
375+
rubocop (~> 1.72, >= 1.72.1)
373376
rubocop-rails (2.34.2)
374377
activesupport (>= 4.2.0)
375378
lint_roller (~> 1.1)
@@ -379,6 +382,10 @@ GEM
379382
rubocop-rspec (3.8.0)
380383
lint_roller (~> 1.1)
381384
rubocop (~> 1.81)
385+
rubocop-rspec_rails (2.32.0)
386+
lint_roller (~> 1.1)
387+
rubocop (~> 1.72, >= 1.72.1)
388+
rubocop-rspec (~> 3.5)
382389
ruby-progressbar (1.13.0)
383390
sassc (2.4.0)
384391
ffi (~> 1.9)
@@ -510,8 +517,10 @@ DEPENDENCIES
510517
rails-controller-testing
511518
rspec-rails
512519
rubocop
520+
rubocop-factory_bot
513521
rubocop-rails
514522
rubocop-rspec
523+
rubocop-rspec_rails
515524
sassc-rails
516525
sdoc
517526
sentry-rails

0 commit comments

Comments
 (0)