]> git.openstreetmap.org Git - rails.git/blobdiff - .rubocop.yml
Use with_locale for the copyright page
[rails.git] / .rubocop.yml
index 628589d69804f91bd396244c9fb79305d3c0f0fd..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,9 +56,6 @@ Rails/HasManyOrHasOneDependent:
 Rails/HttpPositionalArguments:
   Enabled: false
 
-Rails/InverseOf:
-  Enabled: false
-
 Rails/ReflectionClassName:
   Enabled: false