config/default.yml in rubocop-factory_bot-2.25.1 vs config/default.yml in rubocop-factory_bot-2.26.0
- old
+ new
@@ -47,10 +47,11 @@
Reference: https://www.rubydoc.info/gems/rubocop-factory_bot/RuboCop/Cop/FactoryBot/ConsistentParenthesesStyle
FactoryBot/CreateList:
Description: Checks for create_list usage.
Enabled: true
+ AutoCorrect: contextual
Include:
- "**/*_spec.rb"
- "**/spec/**/*"
- "**/test/**/*"
- "**/features/support/factories/**/*.rb"
@@ -59,10 +60,10 @@
- create_list
- n_times
ExplicitOnly: false
SafeAutoCorrect: false
VersionAdded: '1.25'
- VersionChanged: '2.24'
+ VersionChanged: '2.26'
Reference: https://www.rubydoc.info/gems/rubocop-factory_bot/RuboCop/Cop/FactoryBot/CreateList
FactoryBot/ExcessiveCreateList:
Description: Check for excessive model creation in a list.
Enabled: pending