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:
2
2
rubocop-config-umbrellio : lib/rubocop.yml
3
3
4
4
AllCops :
5
- TargetRubyVersion : 2.5
5
+ TargetRubyVersion : 3.0
Original file line number Diff line number Diff line change 3
3
specs:
4
4
rubocop-config-umbrellio (1.66.0 )
5
5
rubocop (~> 1.66.0 )
6
+ rubocop-factory_bot
6
7
rubocop-performance (~> 1.22.0 )
7
8
rubocop-rails (~> 2.26.0 )
8
9
rubocop-rake (~> 0.6.0 )
56
57
unicode-display_width (>= 2.4.0 , < 3.0 )
57
58
rubocop-ast (1.32.3 )
58
59
parser (>= 3.3.1.0 )
60
+ rubocop-factory_bot (2.26.1 )
61
+ rubocop (~> 1.61 )
59
62
rubocop-performance (1.22.0 )
60
63
rubocop (>= 1.48.1 , < 2.0 )
61
64
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
2
4
3
5
# Capybara
4
6
5
- Capybara/CurrentPathExpectation :
6
- Enabled : true
7
+ # Capybara/CurrentPathExpectation:
8
+ # Enabled: true
7
9
8
- RSpec/Capybara/FeatureMethods :
9
- Enabled : false
10
+ # RSpec/Capybara/FeatureMethods:
11
+ # Enabled: false
10
12
11
13
# RSpec
12
14
@@ -42,13 +44,13 @@ RSpec/ExpectInHook:
42
44
# try not to use expect in before / after / around blocks anyway
43
45
Enabled : false
44
46
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
50
52
51
- RSpec/FilePath :
53
+ RSpec/SpecFilePathFormat :
52
54
Enabled : false
53
55
54
56
RSpec/LeadingSubject :
Original file line number Diff line number Diff line change @@ -22,6 +22,7 @@ Gem::Specification.new do |spec|
22
22
spec . files = Dir [ "lib/rubocop.*.yml" ] << "lib/rubocop.yml"
23
23
24
24
spec . add_dependency "rubocop" , "~> #{ rubocop_version } "
25
+ spec . add_dependency "rubocop-factory_bot"
25
26
spec . add_dependency "rubocop-performance" , "~> 1.22.0"
26
27
spec . add_dependency "rubocop-rails" , "~> 2.26.0"
27
28
spec . add_dependency "rubocop-rake" , "~> 0.6.0"
You can’t perform that action at this time.
0 commit comments