]> git.openstreetmap.org Git - rails.git/blobdiff - .rubocop.yml
Disable Minitest/MultipleAssertions cop for now
[rails.git] / .rubocop.yml
index 051b7a6a7aaec1638821d5d39d6e11b235d1aca2..97bb72e0ac03fee0bc94c89280bdb14d400f4ee1 100644 (file)
@@ -9,7 +9,7 @@ require:
   - rubocop-rake
 
 AllCops:
-  TargetRubyVersion: 2.7
+  TargetRubyVersion: 3.0
   NewCops: enable
   Exclude:
     - 'vendor/**/*'
@@ -37,6 +37,9 @@ Metrics/ClassLength:
 Metrics/ModuleLength:
   Max: 150
 
+Minitest/MultipleAssertions:
+  Enabled: false
+
 Naming/FileName:
   Exclude:
     - 'script/deliver-message'
@@ -48,6 +51,9 @@ Naming/MethodParameterName:
 Rails/CreateTableWithTimestamps:
   Enabled: false
 
+Rails/FindBy:
+  IgnoreWhereFirst: false
+
 Rails/FindEach:
   Enabled: false