-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathrubocop-factory-bot.yml
34 lines (26 loc) · 1.13 KB
/
rubocop-factory-bot.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
#
## https://www.rubydoc.info/gems/rubocop-factory_bot/
#
require: rubocop-factory_bot
# https://docs.rubocop.org/rubocop-factory_bot/cops_factorybot.html#factorybotsyntaxmethods
FactoryBot/SyntaxMethods:
Enabled: true
# https://docs.rubocop.org/rubocop-rspec/cops_rspec_factorybot.html#rspecfactorybotconsistentparenthesesstyle
FactoryBot/ConsistentParenthesesStyle:
Enabled: true
# https://docs.rubocop.org/rubocop-rspec/cops_rspec_factorybot.html#rspecfactorybotfactorynamestyle
FactoryBot/FactoryNameStyle:
Enabled: true
# https://docs.rubocop.org/rubocop-factory_bot/cops_factorybot.html#factorybotassociationstyle
FactoryBot/AssociationStyle:
Enabled: true
EnforcedStyle: explicit
# https://docs.rubocop.org/rubocop-factory_bot/cops_factorybot.html#factorybotfactoryassociationwithstrategy
FactoryBot/FactoryAssociationWithStrategy:
Enabled: true
# https://docs.rubocop.org/rubocop-factory_bot/cops_factorybot.html#factorybotidsequence
FactoryBot/IdSequence:
Enabled: true
# https://docs.rubocop.org/rubocop-factory_bot/cops_factorybot.html#factorybotredundantfactoryoption
FactoryBot/RedundantFactoryOption:
Enabled: true