rubocop-rspec.yml in gitlab-styles-10.0.0 vs rubocop-rspec.yml in gitlab-styles-10.1.0
- old
+ new
@@ -1,8 +1,13 @@
---
require:
- ./lib/gitlab/styles/rubocop
+# Check for create_list FactoryBot declarations higher than MaxAmount
+RSpec/FactoryBot/ExcessiveCreateList:
+ Enabled: true
+ MaxAmount: 10
+
# Check that instances are not being stubbed globally.
RSpec/AnyInstance:
Enabled: false
# Check for expectations where `be(...)` can replace `eql(...)`.