diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml index f2348889..9ec439b0 100644 --- a/.rubocop_todo.yml +++ b/.rubocop_todo.yml @@ -1,6 +1,6 @@ # This configuration was generated by # `rubocop --auto-gen-config` -# on 2023-04-04 08:44:46 UTC using RuboCop version 1.48.1. +# on 2023-09-12 15:54:37 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 @@ -39,7 +39,7 @@ Lint/MissingCopEnableDirective: Metrics/AbcSize: Max: 142 -# Offense count: 34 +# Offense count: 35 # Configuration parameters: CountComments, CountAsOne, AllowedMethods, AllowedPatterns, inherit_mode. # AllowedMethods: refine Metrics/BlockLength: @@ -70,7 +70,7 @@ Metrics/MethodLength: Metrics/PerceivedComplexity: Max: 31 -# Offense count: 182 +# Offense count: 186 # Configuration parameters: ForbiddenDelimiters. # ForbiddenDelimiters: (?i-mx:(^|\s)(EO[A-Z]{1}|END)(\s|$)) Naming/HeredocDelimiterNaming: @@ -92,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: 406 +# Offense count: 408 # Configuration parameters: Prefixes, AllowedPatterns. # Prefixes: when, with, without RSpec/ContextWording: @@ -108,20 +108,6 @@ RSpec/DescribeClass: RSpec/ExampleLength: Max: 148 -# Offense count: 8 -# Configuration parameters: Include, CustomTransform, IgnoreMethods, SpecSuffixOnly. -# Include: **/*_spec*rb*, **/spec/**/* -RSpec/FilePath: - Exclude: - - 'spec/unit/puppet-lint/bin_spec.rb' - - 'spec/unit/puppet-lint/checks_spec.rb' - - 'spec/unit/puppet-lint/configuration_spec.rb' - - 'spec/unit/puppet-lint/data_spec.rb' - - 'spec/unit/puppet-lint/lexer/string_slurper_spec.rb' - - 'spec/unit/puppet-lint/lexer/token_spec.rb' - - 'spec/unit/puppet-lint/lexer_spec.rb' - - 'spec/unit/puppet-lint/puppet-lint_spec.rb' - # Offense count: 138 RSpec/MultipleExpectations: Max: 137 @@ -143,6 +129,21 @@ 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: 8 +# Configuration parameters: Include, CustomTransform, IgnoreMethods, IgnoreMetadata. +# Include: **/*_spec.rb +RSpec/SpecFilePathFormat: + Exclude: + - '**/spec/routing/**/*' + - 'spec/unit/puppet-lint/bin_spec.rb' + - 'spec/unit/puppet-lint/checks_spec.rb' + - 'spec/unit/puppet-lint/configuration_spec.rb' + - 'spec/unit/puppet-lint/data_spec.rb' + - 'spec/unit/puppet-lint/lexer/string_slurper_spec.rb' + - 'spec/unit/puppet-lint/lexer/token_spec.rb' + - 'spec/unit/puppet-lint/lexer_spec.rb' + - 'spec/unit/puppet-lint/puppet-lint_spec.rb' + # Offense count: 106 # This cop supports unsafe autocorrection (--autocorrect-all). # Configuration parameters: EnforcedStyle.