X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/cbcc7dc49f83f60489fde04b0750cf081e7439fb..e443ec7587e78564deadd34f0aebde02c83437cc:/.rubocop_todo.yml diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml index 95e3be8fe..2e7bc2f59 100644 --- a/.rubocop_todo.yml +++ b/.rubocop_todo.yml @@ -21,19 +21,6 @@ require: Layout/LineLength: Max: 270 -# Offense count: 62 -# Cop supports --auto-correct. -Lint/AmbiguousOperatorPrecedence: - Exclude: - - 'app/controllers/geocoder_controller.rb' - - 'app/models/user.rb' - - 'lib/bounding_box.rb' - - 'lib/osm.rb' - - 'lib/rich_text.rb' - - 'lib/short_link.rb' - - 'test/controllers/api/old_nodes_controller_test.rb' - - 'test/lib/short_link_test.rb' - # Offense count: 34 # Configuration parameters: AllowSafeAssignment. Lint/AssignmentInCondition: @@ -54,15 +41,6 @@ Lint/AssignmentInCondition: - 'lib/osm.rb' - 'script/deliver-message' -# Offense count: 7 -# Configuration parameters: IgnoreLiteralBranches, IgnoreConstantBranches. -Lint/DuplicateBranch: - Exclude: - - 'app/controllers/api_controller.rb' - - 'app/controllers/diary_entries_controller.rb' - - 'app/controllers/geocoder_controller.rb' - - 'app/helpers/browse_tags_helper.rb' - # Offense count: 665 # Configuration parameters: IgnoredMethods, CountRepeatedAttributes. Metrics/AbcSize: @@ -108,12 +86,10 @@ Metrics/PerceivedComplexity: Minitest/MultipleAssertions: Max: 52 -# Offense count: 3 +# Offense count: 1 Naming/AccessorMethodName: Exclude: - - 'app/controllers/application_controller.rb' - 'app/helpers/title_helper.rb' - - 'lib/osm.rb' # Offense count: 8 # Configuration parameters: NamePrefix, ForbiddenPrefixes, AllowedMethods, MethodDefinitionMacros.