X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/c744326b97dd0a923113b6c9c024fb39e780c006..dddef7672e37e85e14af7aa2ffbd95214bd2689f:/.rubocop_todo.yml?ds=sidebyside diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml index ee559e4b6..2545d7284 100644 --- a/.rubocop_todo.yml +++ b/.rubocop_todo.yml @@ -27,10 +27,11 @@ Lint/AssignmentInCondition: # Offense count: 4 # Configuration parameters: AllowComments. -Lint/HandleExceptions: +Lint/SuppressedException: Exclude: - 'app/controllers/api/amf_controller.rb' - 'app/controllers/users_controller.rb' + - 'app/controllers/site_controller.rb' # Offense count: 701 Metrics/AbcSize: @@ -173,16 +174,13 @@ 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 Style/FormatStringToken: Exclude: - 'app/models/concerns/geo_record.rb' + - 'app/views/api/map/_bounds.xml.builder' - 'lib/bounding_box.rb' - 'test/controllers/api/map_controller_test.rb' - 'test/controllers/api/relations_controller_test.rb' @@ -213,4 +211,4 @@ Style/NumericLiterals: # Configuration parameters: AutoCorrect, AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, IgnoredPatterns. # URISchemes: http, https Metrics/LineLength: - Max: 307 + Max: 260