X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/a790c47923ae5722743ba168eb79f3beabe8a71e..cebb05a3ba6313c245509d7966cec184936f9c42:/.rubocop_todo.yml diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml index c24fa1310..25a30bf40 100644 --- a/.rubocop_todo.yml +++ b/.rubocop_todo.yml @@ -13,9 +13,10 @@ Lint/AssignmentInCondition: - 'app/controllers/application_controller.rb' - 'app/controllers/geocoder_controller.rb' - 'app/controllers/notes_controller.rb' + - 'app/controllers/api/traces_controller.rb' - 'app/controllers/traces_controller.rb' - 'app/controllers/users_controller.rb' - - 'app/controllers/user_preferences_controller.rb' + - 'app/controllers/api/user_preferences_controller.rb' - 'app/helpers/application_helper.rb' - 'app/helpers/browse_helper.rb' - 'app/helpers/browse_tags_helper.rb' @@ -28,7 +29,7 @@ Lint/AssignmentInCondition: # Offense count: 4 Lint/HandleExceptions: Exclude: - - 'app/controllers/amf_controller.rb' + - 'app/controllers/api/amf_controller.rb' - 'app/controllers/users_controller.rb' # Offense count: 692 @@ -53,7 +54,7 @@ Metrics/ClassLength: # Offense count: 72 Metrics/CyclomaticComplexity: - Max: 20 + Max: 23 # Offense count: 691 # Configuration parameters: CountComments. @@ -178,7 +179,7 @@ Style/FrozenStringLiteralComment: # Cop supports --auto-correct. Style/IfUnlessModifier: Exclude: - - 'app/controllers/ways_controller.rb' + - 'app/controllers/api/ways_controller.rb' # Offense count: 70 # Cop supports --auto-correct.