]> git.openstreetmap.org Git - rails.git/blobdiff - .rubocop.yml
Merge pull request #4218 from AntonKhorev/no-user-id-renames
[rails.git] / .rubocop.yml
index 051b7a6a7aaec1638821d5d39d6e11b235d1aca2..ddfb63cae0610942a1ac6f107267e2c283ea2b50 100644 (file)
@@ -9,7 +9,7 @@ require:
   - rubocop-rake
 
 AllCops:
-  TargetRubyVersion: 2.7
+  TargetRubyVersion: 3.0
   NewCops: enable
   Exclude:
     - 'vendor/**/*'
@@ -48,6 +48,9 @@ Naming/MethodParameterName:
 Rails/CreateTableWithTimestamps:
   Enabled: false
 
+Rails/FindBy:
+  IgnoreWhereFirst: false
+
 Rails/FindEach:
   Enabled: false
 
@@ -65,6 +68,9 @@ Rails/SkipsModelValidations:
     - 'db/migrate/*.rb'
     - 'app/controllers/users_controller.rb'
 
+Style/ArgumentsForwarding:
+  Enabled: false
+
 Style/Documentation:
   Enabled: false