]> git.openstreetmap.org Git - rails.git/blobdiff - .rubocop.yml
Localisation updates from https://translatewiki.net.
[rails.git] / .rubocop.yml
index ac29f4fc8769d9aec2d1142f33eef65bf698383e..cfa31cc048d6423973cd42b78d6ad7d000a63c1b 100644 (file)
@@ -1,9 +1,11 @@
 inherit_from: .rubocop_todo.yml
 
 require:
 inherit_from: .rubocop_todo.yml
 
 require:
+  - rubocop-capybara
   - rubocop-minitest
   - rubocop-performance
   - rubocop-rails
   - rubocop-minitest
   - rubocop-performance
   - rubocop-rails
+  - rubocop-rake
 
 AllCops:
   TargetRubyVersion: 2.7
 
 AllCops:
   TargetRubyVersion: 2.7
@@ -37,7 +39,6 @@ Metrics/ModuleLength:
 Naming/FileName:
   Exclude:
     - 'script/deliver-message'
 Naming/FileName:
   Exclude:
     - 'script/deliver-message'
-    - 'script/locale/reload-languages'
     - 'script/update-spam-blocks'
 
 Naming/MethodParameterName:
     - 'script/update-spam-blocks'
 
 Naming/MethodParameterName:
@@ -55,7 +56,7 @@ Rails/HasManyOrHasOneDependent:
 Rails/HttpPositionalArguments:
   Enabled: false
 
 Rails/HttpPositionalArguments:
   Enabled: false
 
-Rails/InverseOf:
+Rails/ReflectionClassName:
   Enabled: false
 
 Rails/SkipsModelValidations:
   Enabled: false
 
 Rails/SkipsModelValidations: