X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/1ca77d6ddac1910e85eb7ef4dedf6f1e885307e1..cf7c8a0cd035390de0484375876b1684864caf02:/.rubocop.yml?ds=sidebyside diff --git a/.rubocop.yml b/.rubocop.yml index 690d984f7..7d2df0445 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -1,5 +1,9 @@ inherit_from: .rubocop_todo.yml +require: + - rubocop-performance + - rubocop-rails + AllCops: TargetRubyVersion: 2.5 @@ -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'