]> git.openstreetmap.org Git - rails.git/blobdiff - .rubocop.yml
Remove custom styling from export alternative sources dl
[rails.git] / .rubocop.yml
index 051b7a6a7aaec1638821d5d39d6e11b235d1aca2..f8060f9484cc72939fd84e9ac2f94a98804468b4 100644 (file)
@@ -9,7 +9,7 @@ require:
   - rubocop-rake
 
 AllCops:
-  TargetRubyVersion: 2.7
+  TargetRubyVersion: 3.0
   NewCops: enable
   Exclude:
     - 'vendor/**/*'
@@ -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