]> git.openstreetmap.org Git - rails.git/blobdiff - .rubocop.yml
Drop es5 polyfill
[rails.git] / .rubocop.yml
index 1931eb55ff73af4121df66e05b96f90b383f0c4f..aa60df305e2613659f470ffcafb57dce3c22941e 100644 (file)
@@ -7,7 +7,7 @@ require:
   - rubocop-rake
 
 AllCops:
-  TargetRubyVersion: 2.5
+  TargetRubyVersion: 2.7
   NewCops: enable
   Exclude:
     - 'vendor/**/*'
@@ -58,6 +58,9 @@ Rails/HttpPositionalArguments:
 Rails/InverseOf:
   Enabled: false
 
+Rails/ReflectionClassName:
+  Enabled: false
+
 Rails/SkipsModelValidations:
   Exclude:
     - 'db/migrate/*.rb'