File tree Expand file tree Collapse file tree 4 files changed +18
-12
lines changed Expand file tree Collapse file tree 4 files changed +18
-12
lines changed Original file line number Diff line number Diff line change @@ -2,4 +2,4 @@ inherit_gem:
22 rubocop-config-umbrellio : lib/rubocop.yml
33
44AllCops :
5- TargetRubyVersion : 2.5
5+ TargetRubyVersion : 3.0
Original file line number Diff line number Diff line change 33 specs:
44 rubocop-config-umbrellio (1.66.0 )
55 rubocop (~> 1.66.0 )
6+ rubocop-factory_bot
67 rubocop-performance (~> 1.22.0 )
78 rubocop-rails (~> 2.26.0 )
89 rubocop-rake (~> 0.6.0 )
5657 unicode-display_width (>= 2.4.0 , < 3.0 )
5758 rubocop-ast (1.32.3 )
5859 parser (>= 3.3.1.0 )
60+ rubocop-factory_bot (2.26.1 )
61+ rubocop (~> 1.61 )
5962 rubocop-performance (1.22.0 )
6063 rubocop (>= 1.48.1 , < 2.0 )
6164 rubocop-ast (>= 1.31.1 , < 2.0 )
Original file line number Diff line number Diff line change 1- require : rubocop-rspec
1+ require :
2+ - rubocop-rspec
3+ - rubocop-factory_bot
24
35# Capybara
46
5- Capybara/CurrentPathExpectation :
6- Enabled : true
7+ # Capybara/CurrentPathExpectation:
8+ # Enabled: true
79
8- RSpec/Capybara/FeatureMethods :
9- Enabled : false
10+ # RSpec/Capybara/FeatureMethods:
11+ # Enabled: false
1012
1113# RSpec
1214
@@ -42,13 +44,13 @@ RSpec/ExpectInHook:
4244 # try not to use expect in before / after / around blocks anyway
4345 Enabled : false
4446
45- RSpec/FactoryBot :
46- Include :
47- - spec/factories.rb
48- - spec/factories/**/*.rb
49- - features/support/factories/**/*.rb
47+ # RSpec/FactoryBot:
48+ # Include:
49+ # - spec/factories.rb
50+ # - spec/factories/**/*.rb
51+ # - features/support/factories/**/*.rb
5052
51- RSpec/FilePath :
53+ RSpec/SpecFilePathFormat :
5254 Enabled : false
5355
5456RSpec/LeadingSubject :
Original file line number Diff line number Diff line change @@ -22,6 +22,7 @@ Gem::Specification.new do |spec|
2222 spec . files = Dir [ "lib/rubocop.*.yml" ] << "lib/rubocop.yml"
2323
2424 spec . add_dependency "rubocop" , "~> #{ rubocop_version } "
25+ spec . add_dependency "rubocop-factory_bot"
2526 spec . add_dependency "rubocop-performance" , "~> 1.22.0"
2627 spec . add_dependency "rubocop-rails" , "~> 2.26.0"
2728 spec . add_dependency "rubocop-rake" , "~> 0.6.0"
You can’t perform that action at this time.
0 commit comments