]> git.openstreetmap.org Git - rails.git/blobdiff - .rubocop.yml
Allow OAuth 2 to redirect to plain HTTP for localhost
[rails.git] / .rubocop.yml
index 200ab8a00816b92077b78ea72c7908636d9a989e..628589d69804f91bd396244c9fb79305d3c0f0fd 100644 (file)
@@ -4,9 +4,10 @@ require:
   - rubocop-minitest
   - rubocop-performance
   - rubocop-rails
+  - rubocop-rake
 
 AllCops:
-  TargetRubyVersion: 2.7
+  TargetRubyVersion: 2.5
   NewCops: enable
   Exclude:
     - 'vendor/**/*'
@@ -57,6 +58,9 @@ Rails/HttpPositionalArguments:
 Rails/InverseOf:
   Enabled: false
 
+Rails/ReflectionClassName:
+  Enabled: false
+
 Rails/SkipsModelValidations:
   Exclude:
     - 'db/migrate/*.rb'