diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml index b69b2939..640d7f2b 100644 --- a/.rubocop_todo.yml +++ b/.rubocop_todo.yml @@ -1,37 +1,43 @@ # This configuration was generated by # `rubocop --auto-gen-config` -# on 2021-04-22 16:30:35 +0200 using RuboCop version 0.50.0. +# on 2021-04-23 16:47:47 +0200 using RuboCop version 0.50.0. # The point is for the user to remove these configuration records # one by one as the offenses are removed from the code base. # Note that changes in the inspected code, or installation of new # versions of RuboCop, may require this file to be generated again. -# Offense count: 1 +# Offense count: 3 Lint/UselessAssignment: Exclude: - 'lib/modulesync.rb' # Offense count: 10 Metrics/AbcSize: - Max: 67 + Max: 59 # Offense count: 2 # Configuration parameters: CountComments. Metrics/ClassLength: - Max: 128 + Max: 125 -# Offense count: 3 +# Offense count: 4 Metrics/CyclomaticComplexity: - Max: 12 + Max: 13 + +# Offense count: 3 +# Configuration parameters: AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, IgnoredPatterns. +# URISchemes: http, https +Metrics/LineLength: + Max: 186 -# Offense count: 13 +# Offense count: 17 # Configuration parameters: CountComments. Metrics/MethodLength: - Max: 36 + Max: 32 # Offense count: 3 Metrics/PerceivedComplexity: - Max: 13 + Max: 14 # Offense count: 8 Style/Documentation: @@ -49,3 +55,12 @@ Style/Documentation: Style/EachWithObject: Exclude: - 'lib/modulesync/util.rb' + +# Offense count: 2 +# Cop supports --auto-correct. +# Configuration parameters: EnforcedStyleForMultiline, SupportedStylesForMultiline. +# SupportedStylesForMultiline: comma, consistent_comma, no_comma +Style/TrailingCommaInArguments: + Exclude: + - 'lib/modulesync/git_service/base.rb' + - 'lib/modulesync/source_code.rb'