]> git.openstreetmap.org Git - rails.git/blobdiff - .rubocop.yml
Remove unused gradients from note markers
[rails.git] / .rubocop.yml
index 051b7a6a7aaec1638821d5d39d6e11b235d1aca2..c0f0c1fa08053ec082a77ae9cd8e6e3d0facb874 100644 (file)
@@ -9,7 +9,7 @@ require:
   - rubocop-rake
 
 AllCops:
-  TargetRubyVersion: 2.7
+  TargetRubyVersion: 3.0
   NewCops: enable
   Exclude:
     - 'vendor/**/*'
@@ -45,9 +45,16 @@ Naming/FileName:
 Naming/MethodParameterName:
   Enabled: false
 
+# This conflicts with Strong Migrations, which can't check `change_table`
+Rails/BulkChangeTable:
+  Enabled: false
+
 Rails/CreateTableWithTimestamps:
   Enabled: false
 
+Rails/FindBy:
+  IgnoreWhereFirst: false
+
 Rails/FindEach:
   Enabled: false