]> git.openstreetmap.org Git - rails.git/blobdiff - .rubocop.yml
Drop use of html5shiv
[rails.git] / .rubocop.yml
index 9b7a28d87e0ad61061f9411371c9f1c3df848902..aa60df305e2613659f470ffcafb57dce3c22941e 100644 (file)
@@ -4,9 +4,10 @@ require:
   - rubocop-minitest
   - rubocop-performance
   - rubocop-rails
   - rubocop-minitest
   - rubocop-performance
   - rubocop-rails
+  - rubocop-rake
 
 AllCops:
 
 AllCops:
-  TargetRubyVersion: 2.5
+  TargetRubyVersion: 2.7
   NewCops: enable
   Exclude:
     - 'vendor/**/*'
   NewCops: enable
   Exclude:
     - 'vendor/**/*'
@@ -57,6 +58,9 @@ Rails/HttpPositionalArguments:
 Rails/InverseOf:
   Enabled: false
 
 Rails/InverseOf:
   Enabled: false
 
+Rails/ReflectionClassName:
+  Enabled: false
+
 Rails/SkipsModelValidations:
   Exclude:
     - 'db/migrate/*.rb'
 Rails/SkipsModelValidations:
   Exclude:
     - 'db/migrate/*.rb'