]> git.openstreetmap.org Git - rails.git/blobdiff - .rubocop.yml
Use implicit style for associations with factory overrides
[rails.git] / .rubocop.yml
index dc2a33a35b05d863e828a7afd5649ec8461534b4..f8060f9484cc72939fd84e9ac2f94a98804468b4 100644 (file)
@@ -17,6 +17,11 @@ AllCops:
 Rails:
   Enabled: true
 
+# Config can be removed after https://github.com/rubocop/rubocop-factory_bot/issues/53
+FactoryBot/AssociationStyle:
+  Include:
+    - 'test/factories/**/*'
+
 Layout/ExtraSpacing:
   AllowForAlignment: true