X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/efd50cd529990069dc1ca95f66ec6f61471fe29d..11cc4a5e601dd288d601e6e35a72d159062f18b5:/.rubocop.yml?ds=inline diff --git a/.rubocop.yml b/.rubocop.yml index b33f9046c..7d2df0445 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -1,7 +1,11 @@ inherit_from: .rubocop_todo.yml +require: + - rubocop-performance + - rubocop-rails + AllCops: - TargetRubyVersion: 2.3 + TargetRubyVersion: 2.5 Rails: Enabled: true @@ -15,6 +19,10 @@ Lint/PercentStringArray: - 'app/controllers/application_controller.rb' - 'app/controllers/site_controller.rb' +Metrics/BlockLength: + Exclude: + - 'config/routes.rb' + Naming/FileName: Exclude: - 'script/deliver-message'