From: Andy Allan Date: Wed, 18 Dec 2019 14:34:11 +0000 (+0100) Subject: Move Style/Documentation into the main config file X-Git-Tag: live~3233^2~1 X-Git-Url: https://git.openstreetmap.org./rails.git/commitdiff_plain/2722cc60be5107d7f99c9818b5b24005a73245b2 Move Style/Documentation into the main config file I don't think anyone intends to write documentation for the app --- diff --git a/.rubocop.yml b/.rubocop.yml index c211cc2fd..1ae01086a 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -61,6 +61,9 @@ Rails/SkipsModelValidations: Style/BracesAroundHashParameters: EnforcedStyle: context_dependent +Style/Documentation: + Enabled: false + Style/FormatStringToken: EnforcedStyle: template diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml index f768dddc6..80551c4b7 100644 --- a/.rubocop_todo.yml +++ b/.rubocop_todo.yml @@ -174,10 +174,6 @@ Style/AsciiComments: Exclude: - 'test/models/message_test.rb' -# Offense count: 263 -Style/Documentation: - Enabled: false - # Offense count: 27 # Configuration parameters: EnforcedStyle. # SupportedStyles: annotated, template, unannotated