]> git.openstreetmap.org Git - rails.git/blobdiff - .rubocop.yml
Use with_locale for the copyright page
[rails.git] / .rubocop.yml
index 1931eb55ff73af4121df66e05b96f90b383f0c4f..cfa31cc048d6423973cd42b78d6ad7d000a63c1b 100644 (file)
@@ -1,13 +1,14 @@
 inherit_from: .rubocop_todo.yml
 
 require:
+  - rubocop-capybara
   - rubocop-minitest
   - rubocop-performance
   - rubocop-rails
   - rubocop-rake
 
 AllCops:
-  TargetRubyVersion: 2.5
+  TargetRubyVersion: 2.7
   NewCops: enable
   Exclude:
     - 'vendor/**/*'
@@ -55,7 +56,7 @@ Rails/HasManyOrHasOneDependent:
 Rails/HttpPositionalArguments:
   Enabled: false
 
-Rails/InverseOf:
+Rails/ReflectionClassName:
   Enabled: false
 
 Rails/SkipsModelValidations: