X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/0619ff58a80c84660deca50bbeef90903e712e92..2142ff02c2442d28580ff99080bc1219c2bfe59f:/.rubocop.yml?ds=sidebyside diff --git a/.rubocop.yml b/.rubocop.yml index cb301ece1..d5ee8ff38 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -1,7 +1,9 @@ inherit_from: .rubocop_todo.yml +require: rubocop-performance + AllCops: - TargetRubyVersion: 2.3 + TargetRubyVersion: 2.5 Rails: Enabled: true @@ -45,7 +47,7 @@ Rails/InverseOf: Rails/SkipsModelValidations: Exclude: - 'db/migrate/*.rb' - - 'app/controllers/user_controller.rb' + - 'app/controllers/users_controller.rb' Style/BracesAroundHashParameters: EnforcedStyle: context_dependent