diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml index 40005897..f2348889 100644 --- a/.rubocop_todo.yml +++ b/.rubocop_todo.yml @@ -1,11 +1,19 @@ # This configuration was generated by # `rubocop --auto-gen-config` -# on 2023-04-03 10:54:30 UTC using RuboCop version 1.48.1. +# on 2023-04-04 08:44:46 UTC using RuboCop version 1.48.1. # 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 +# This cop supports safe autocorrection (--autocorrect). +# Configuration parameters: Severity, Include. +# Include: **/*.gemspec +Gemspec/RequireMFA: + Exclude: + - 'puppet-lint.gemspec' + # Offense count: 4 # Configuration parameters: IgnoreLiteralBranches, IgnoreConstantBranches. Lint/DuplicateBranch: @@ -35,9 +43,7 @@ Metrics/AbcSize: # Configuration parameters: CountComments, CountAsOne, AllowedMethods, AllowedPatterns, inherit_mode. # AllowedMethods: refine Metrics/BlockLength: - Max: 105 - Exclude: - - 'lib/puppet-lint/plugins/check_whitespace/arrow_alignment.rb' + Max: 104 # Offense count: 2 # Configuration parameters: CountBlocks. @@ -47,14 +53,14 @@ Metrics/BlockNesting: # Offense count: 7 # Configuration parameters: CountComments, CountAsOne. Metrics/ClassLength: - Max: 393 + Max: 387 # Offense count: 33 # Configuration parameters: AllowedMethods, AllowedPatterns. Metrics/CyclomaticComplexity: Max: 33 -# Offense count: 81 +# Offense count: 80 # Configuration parameters: CountComments, CountAsOne, AllowedMethods, AllowedPatterns. Metrics/MethodLength: Max: 108 @@ -62,7 +68,7 @@ Metrics/MethodLength: # Offense count: 26 # Configuration parameters: AllowedMethods, AllowedPatterns. Metrics/PerceivedComplexity: - Max: 32 + Max: 31 # Offense count: 182 # Configuration parameters: ForbiddenDelimiters. @@ -86,7 +92,7 @@ Performance/CollectionLiteralInLoop: - 'lib/puppet-lint/plugins/check_resources/ensure_first_param.rb' - 'lib/puppet-lint/plugins/check_whitespace/trailing_whitespace.rb' -# Offense count: 408 +# Offense count: 406 # Configuration parameters: Prefixes, AllowedPatterns. # Prefixes: when, with, without RSpec/ContextWording: @@ -137,15 +143,6 @@ RSpec/RepeatedExampleGroupDescription: - 'spec/unit/puppet-lint/plugins/check_resources/unquoted_file_mode_spec.rb' - 'spec/unit/puppet-lint/plugins/legacy_facts/legacy_facts_spec.rb' -# Offense count: 16 -# This cop supports safe autocorrection (--autocorrect). -# Configuration parameters: EnforcedStyle. -# SupportedStyles: separated, grouped -Style/AccessorGrouping: - Exclude: - - 'lib/puppet-lint/lexer/string_slurper.rb' - - 'lib/puppet-lint/tasks/puppet-lint.rb' - # Offense count: 106 # This cop supports unsafe autocorrection (--autocorrect-all). # Configuration parameters: EnforcedStyle.