]> git.openstreetmap.org Git - rails.git/blobdiff - .rubocop.yml
Use rails instead of rake
[rails.git] / .rubocop.yml
index 1931eb55ff73af4121df66e05b96f90b383f0c4f..65db8a6a563522c536389729db7ec383aca9f0f6 100644 (file)
@@ -7,7 +7,7 @@ require:
   - rubocop-rake
 
 AllCops:
   - rubocop-rake
 
 AllCops:
-  TargetRubyVersion: 2.5
+  TargetRubyVersion: 2.7
   NewCops: enable
   Exclude:
     - 'vendor/**/*'
   NewCops: enable
   Exclude:
     - 'vendor/**/*'
@@ -55,7 +55,7 @@ Rails/HasManyOrHasOneDependent:
 Rails/HttpPositionalArguments:
   Enabled: false
 
 Rails/HttpPositionalArguments:
   Enabled: false
 
-Rails/InverseOf:
+Rails/ReflectionClassName:
   Enabled: false
 
 Rails/SkipsModelValidations:
   Enabled: false
 
 Rails/SkipsModelValidations: