]> git.openstreetmap.org Git - rails.git/blobdiff - .rubocop.yml
Merge remote-tracking branch 'upstream/pull/4198'
[rails.git] / .rubocop.yml
index ac29f4fc8769d9aec2d1142f33eef65bf698383e..dc2a33a35b05d863e828a7afd5649ec8461534b4 100644 (file)
@@ -1,12 +1,15 @@
 inherit_from: .rubocop_todo.yml
 
 require:
+  - rubocop-capybara
+  - rubocop-factory_bot
   - rubocop-minitest
   - rubocop-performance
   - rubocop-rails
+  - rubocop-rake
 
 AllCops:
-  TargetRubyVersion: 2.7
+  TargetRubyVersion: 3.0
   NewCops: enable
   Exclude:
     - 'vendor/**/*'
@@ -37,7 +40,6 @@ Metrics/ModuleLength:
 Naming/FileName:
   Exclude:
     - 'script/deliver-message'
-    - 'script/locale/reload-languages'
     - 'script/update-spam-blocks'
 
 Naming/MethodParameterName:
@@ -55,7 +57,7 @@ Rails/HasManyOrHasOneDependent:
 Rails/HttpPositionalArguments:
   Enabled: false
 
-Rails/InverseOf:
+Rails/ReflectionClassName:
   Enabled: false
 
 Rails/SkipsModelValidations: