11# This configuration was generated by
22# `rubocop --auto-gen-config`
3- # on 2023-04-03 10:54:30 UTC using RuboCop version 1.48.1.
3+ # on 2023-04-04 08:44:46 UTC using RuboCop version 1.48.1.
44# The point is for the user to remove these configuration records
55# one by one as the offenses are removed from the code base.
66# Note that changes in the inspected code, or installation of new
77# versions of RuboCop, may require this file to be generated again.
88
9+ # Offense count: 1
10+ # This cop supports safe autocorrection (--autocorrect).
11+ # Configuration parameters: Severity, Include.
12+ # Include: **/*.gemspec
13+ Gemspec/RequireMFA :
14+ Exclude :
15+ - ' puppet-lint.gemspec'
16+
917# Offense count: 4
1018# Configuration parameters: IgnoreLiteralBranches, IgnoreConstantBranches.
1119Lint/DuplicateBranch :
@@ -35,9 +43,7 @@ Metrics/AbcSize:
3543# Configuration parameters: CountComments, CountAsOne, AllowedMethods, AllowedPatterns, inherit_mode.
3644# AllowedMethods: refine
3745Metrics/BlockLength :
38- Max : 105
39- Exclude :
40- - ' lib/puppet-lint/plugins/check_whitespace/arrow_alignment.rb'
46+ Max : 104
4147
4248# Offense count: 2
4349# Configuration parameters: CountBlocks.
@@ -47,22 +53,22 @@ Metrics/BlockNesting:
4753# Offense count: 7
4854# Configuration parameters: CountComments, CountAsOne.
4955Metrics/ClassLength :
50- Max : 393
56+ Max : 387
5157
5258# Offense count: 33
5359# Configuration parameters: AllowedMethods, AllowedPatterns.
5460Metrics/CyclomaticComplexity :
5561 Max : 33
5662
57- # Offense count: 81
63+ # Offense count: 80
5864# Configuration parameters: CountComments, CountAsOne, AllowedMethods, AllowedPatterns.
5965Metrics/MethodLength :
6066 Max : 108
6167
6268# Offense count: 26
6369# Configuration parameters: AllowedMethods, AllowedPatterns.
6470Metrics/PerceivedComplexity :
65- Max : 32
71+ Max : 31
6672
6773# Offense count: 182
6874# Configuration parameters: ForbiddenDelimiters.
@@ -86,7 +92,7 @@ Performance/CollectionLiteralInLoop:
8692 - ' lib/puppet-lint/plugins/check_resources/ensure_first_param.rb'
8793 - ' lib/puppet-lint/plugins/check_whitespace/trailing_whitespace.rb'
8894
89- # Offense count: 408
95+ # Offense count: 406
9096# Configuration parameters: Prefixes, AllowedPatterns.
9197# Prefixes: when, with, without
9298RSpec/ContextWording :
@@ -137,15 +143,6 @@ RSpec/RepeatedExampleGroupDescription:
137143 - ' spec/unit/puppet-lint/plugins/check_resources/unquoted_file_mode_spec.rb'
138144 - ' spec/unit/puppet-lint/plugins/legacy_facts/legacy_facts_spec.rb'
139145
140- # Offense count: 16
141- # This cop supports safe autocorrection (--autocorrect).
142- # Configuration parameters: EnforcedStyle.
143- # SupportedStyles: separated, grouped
144- Style/AccessorGrouping :
145- Exclude :
146- - ' lib/puppet-lint/lexer/string_slurper.rb'
147- - ' lib/puppet-lint/tasks/puppet-lint.rb'
148-
149146# Offense count: 106
150147# This cop supports unsafe autocorrection (--autocorrect-all).
151148# Configuration parameters: EnforcedStyle.
0 commit comments