Skip to content

Commit

Permalink
4
Browse files Browse the repository at this point in the history
  • Loading branch information
LukasAud committed Oct 22, 2024
1 parent a95388c commit bd9694b
Showing 1 changed file with 43 additions and 14 deletions.
57 changes: 43 additions & 14 deletions .rubocop_todo.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# This configuration was generated by
# `rubocop --auto-gen-config`
# on 2024-01-22 14:59:34 UTC using RuboCop version 1.50.2.
# on 2024-10-22 14:07:05 UTC using RuboCop version 1.64.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
Expand All @@ -14,6 +14,21 @@ Gemspec/RequireMFA:
Exclude:
- 'puppet-lint.gemspec'

# Offense count: 2
# This cop supports safe autocorrection (--autocorrect).
# Configuration parameters: EnforcedStyle, IndentationWidth.
# SupportedStyles: special_inside_parentheses, consistent, align_brackets
Layout/FirstArrayElementIndentation:
Exclude:
- 'spec/unit/puppet-lint/data_spec.rb'

# Offense count: 1
# This cop supports safe autocorrection (--autocorrect).
# Configuration parameters: AllowInHeredoc.
Layout/TrailingWhitespace:
Exclude:
- 'spec/unit/puppet-lint/data_spec.rb'

# Offense count: 4
# Configuration parameters: IgnoreLiteralBranches, IgnoreConstantBranches.
Lint/DuplicateBranch:
Expand All @@ -34,12 +49,12 @@ Lint/MissingCopEnableDirective:
- 'lib/puppet-lint/tasks/puppet-lint.rb'
- 'spec/unit/puppet-lint/puppet-lint_spec.rb'

# Offense count: 58
# Offense count: 60
# Configuration parameters: AllowedMethods, AllowedPatterns, CountRepeatedAttributes.
Metrics/AbcSize:
Max: 142

# Offense count: 35
# Offense count: 36
# Configuration parameters: CountComments, CountAsOne, AllowedMethods, AllowedPatterns, inherit_mode.
# AllowedMethods: refine
Metrics/BlockLength:
Expand All @@ -50,27 +65,27 @@ Metrics/BlockLength:
Metrics/BlockNesting:
Max: 5

# Offense count: 8
# Offense count: 7
# Configuration parameters: CountComments, CountAsOne.
Metrics/ClassLength:
Max: 387

# Offense count: 33
# Offense count: 34
# Configuration parameters: AllowedMethods, AllowedPatterns.
Metrics/CyclomaticComplexity:
Max: 33

# Offense count: 80
# Offense count: 81
# Configuration parameters: CountComments, CountAsOne, AllowedMethods, AllowedPatterns.
Metrics/MethodLength:
Max: 108

# Offense count: 26
# Offense count: 27
# Configuration parameters: AllowedMethods, AllowedPatterns.
Metrics/PerceivedComplexity:
Max: 31

# Offense count: 186
# Offense count: 191
# Configuration parameters: ForbiddenDelimiters.
# ForbiddenDelimiters: (?i-mx:(^|\s)(EO[A-Z]{1}|END)(\s|$))
Naming/HeredocDelimiterNaming:
Expand All @@ -92,23 +107,23 @@ Performance/CollectionLiteralInLoop:
- 'lib/puppet-lint/plugins/check_resources/ensure_first_param.rb'
- 'lib/puppet-lint/plugins/check_whitespace/trailing_whitespace.rb'

# Offense count: 409
# Offense count: 416
# Configuration parameters: Prefixes, AllowedPatterns.
# Prefixes: when, with, without
RSpec/ContextWording:
Enabled: false

# Offense count: 41
# Offense count: 42
# Configuration parameters: IgnoredMetadata.
RSpec/DescribeClass:
Enabled: false

# Offense count: 50
# Offense count: 51
# Configuration parameters: CountAsOne.
RSpec/ExampleLength:
Max: 148

# Offense count: 119
# Offense count: 120
RSpec/MultipleExpectations:
Max: 137

Expand Down Expand Up @@ -144,14 +159,20 @@ RSpec/SpecFilePathFormat:
- 'spec/unit/puppet-lint/lexer_spec.rb'
- 'spec/unit/puppet-lint/puppet-lint_spec.rb'

# Offense count: 106
# Offense count: 3
# Configuration parameters: IgnoreNameless, IgnoreSymbolicNames.
RSpec/VerifiedDoubles:
Exclude:
- 'spec/unit/puppet-lint/data_spec.rb'

# Offense count: 107
# This cop supports unsafe autocorrection (--autocorrect-all).
# Configuration parameters: EnforcedStyle.
# SupportedStyles: always, always_true, never
Style/FrozenStringLiteralComment:
Enabled: false

# Offense count: 9
# Offense count: 10
# This cop supports unsafe autocorrection (--autocorrect-all).
# Configuration parameters: Mode.
Style/StringConcatenation:
Expand All @@ -160,3 +181,11 @@ Style/StringConcatenation:
- 'lib/puppet-lint/plugins.rb'
- 'lib/puppet-lint/plugins/top_scope_facts/top_scope_facts.rb'
- 'spec/unit/puppet-lint/plugins/check_strings/variables_not_enclosed_spec.rb'

# Offense count: 2
# This cop supports safe autocorrection (--autocorrect).
# Configuration parameters: EnforcedStyleForMultiline.
# SupportedStylesForMultiline: comma, consistent_comma, no_comma
Style/TrailingCommaInArrayLiteral:
Exclude:
- 'spec/unit/puppet-lint/data_spec.rb'

0 comments on commit bd9694b

Please # to comment.