11# This configuration was generated by
2- # `rubocop --auto-gen-config`
3- # on 2024-10-20 14:24:21 UTC using RuboCop version 1.64.1 .
2+ # `rubocop --auto-gen-config --no-auto-gen-timestamp `
3+ # using RuboCop version 1.75.8 .
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
@@ -13,14 +13,6 @@ Layout/CommentIndentation:
1313 Exclude :
1414 - ' lib/hiera/backend/eyaml/subcommands/help.rb'
1515
16- # Offense count: 2
17- # This cop supports safe autocorrection (--autocorrect).
18- # Configuration parameters: EnforcedStyle.
19- # SupportedStyles: space, compact, no_space
20- Layout/SpaceInsideParens :
21- Exclude :
22- - ' lib/hiera/backend/eyaml/logginghelper.rb'
23-
2416# Offense count: 1
2517Lint/DuplicateMethods :
2618 Exclude :
@@ -45,23 +37,6 @@ Lint/RescueException:
4537 Exclude :
4638 - ' lib/hiera/backend/eyaml/subcommand.rb'
4739
48- # Offense count: 1
49- Lint/ShadowingOuterLocalVariable :
50- Exclude :
51- - ' lib/hiera/backend/eyaml_backend.rb'
52-
53- # Offense count: 7
54- # This cop supports unsafe autocorrection (--autocorrect-all).
55- # Configuration parameters: AutoCorrect.
56- Lint/UselessAssignment :
57- Exclude :
58- - ' features/support/env.rb'
59- - ' lib/hiera/backend/eyaml/plugins.rb'
60- - ' lib/hiera/backend/eyaml/subcommand.rb'
61- - ' lib/hiera/backend/eyaml/subcommands/unknown_command.rb'
62- - ' lib/hiera/backend/eyaml/subcommands/version.rb'
63- - ' lib/hiera/backend/eyaml/utils.rb'
64-
6540# Offense count: 1
6641# This cop supports unsafe autocorrection (--autocorrect-all).
6742# Configuration parameters: AutoCorrect.
@@ -74,7 +49,7 @@ Lint/UselessMethodDefinition:
7449# Configuration parameters: AutoCorrect, CheckForMethodsWithNoSideEffects.
7550Lint/Void :
7651 Exclude :
77- - ' lib/hiera/backend/eyaml/parser/token .rb'
52+ - ' features/support/env .rb'
7853
7954# Offense count: 1
8055Naming/AccessorMethodName :
@@ -107,8 +82,9 @@ Naming/HeredocDelimiterNaming:
10782 - ' lib/hiera/backend/eyaml/subcommands/unknown_command.rb'
10883
10984# Offense count: 1
110- # Configuration parameters: EnforcedStyle, AllowedPatterns.
85+ # Configuration parameters: EnforcedStyle, AllowedPatterns, ForbiddenIdentifiers, ForbiddenPatterns .
11186# SupportedStyles: snake_case, camelCase
87+ # ForbiddenIdentifiers: __id__, __send__
11288Naming/MethodName :
11389 Exclude :
11490 - ' lib/hiera/backend/eyaml/encryptors/pkcs7.rb'
@@ -123,7 +99,7 @@ Naming/MethodParameterName:
12399# Offense count: 1
124100# Configuration parameters: EnforcedStyle, CheckMethodNames, CheckSymbols, AllowedIdentifiers, AllowedPatterns.
125101# SupportedStyles: snake_case, normalcase, non_integer
126- # AllowedIdentifiers: capture3, iso8601, rfc1123_date, rfc822, rfc2822, rfc3339, x86_64
102+ # AllowedIdentifiers: TLS1_1, TLS1_2, capture3, iso8601, rfc1123_date, rfc822, rfc2822, rfc3339, x86_64
127103Naming/VariableNumber :
128104 Exclude :
129105 - ' lib/hiera/backend/eyaml/utils.rb'
@@ -169,14 +145,13 @@ Security/YAMLLoad:
169145 - ' features/step_definitions/decrypt_steps.rb'
170146 - ' lib/hiera/backend/eyaml_backend.rb'
171147
172- # Offense count: 9
148+ # Offense count: 8
173149# This cop supports unsafe autocorrection (--autocorrect-all).
174150# Configuration parameters: EnforcedStyle.
175151# SupportedStyles: always, conditionals
176152Style/AndOr :
177153 Exclude :
178154 - ' lib/hiera/backend/eyaml/encryptors/pkcs7.rb'
179- - ' lib/hiera/backend/eyaml/highlinehelper.rb'
180155 - ' lib/hiera/backend/eyaml/logginghelper.rb'
181156 - ' lib/hiera/backend/eyaml/subcommand.rb'
182157 - ' lib/hiera/backend/eyaml_backend.rb'
@@ -220,7 +195,7 @@ Style/EnvHome:
220195
221196# Offense count: 10
222197# This cop supports safe autocorrection (--autocorrect).
223- # Configuration parameters: MaxUnannotatedPlaceholdersAllowed, AllowedMethods, AllowedPatterns.
198+ # Configuration parameters: MaxUnannotatedPlaceholdersAllowed, Mode, AllowedMethods, AllowedPatterns.
224199# SupportedStyles: annotated, template, unannotated
225200Style/FormatStringToken :
226201 EnforcedStyle : unannotated
@@ -248,22 +223,6 @@ Style/IdenticalConditionalBranches:
248223 - ' lib/hiera/backend/eyaml/subcommands/decrypt.rb'
249224 - ' lib/hiera/backend/eyaml/subcommands/edit.rb'
250225
251- # Offense count: 3
252- # This cop supports safe autocorrection (--autocorrect).
253- Style/IfUnlessModifier :
254- Exclude :
255- - ' lib/hiera/backend/eyaml/encryptors/pkcs7.rb'
256- - ' lib/hiera/backend/eyaml/parser/encrypted_tokens.rb'
257-
258- # Offense count: 2
259- # This cop supports unsafe autocorrection (--autocorrect-all).
260- # Configuration parameters: AllowedMethods.
261- # AllowedMethods: nonzero?
262- Style/IfWithBooleanLiteralBranches :
263- Exclude :
264- - ' lib/hiera/backend/eyaml/highlinehelper.rb'
265- - ' lib/hiera/backend/eyaml_backend.rb'
266-
267226# Offense count: 1
268227# This cop supports unsafe autocorrection (--autocorrect-all).
269228Style/MapIntoArray :
@@ -408,9 +367,9 @@ Style/ZeroLengthPredicate:
408367 Exclude :
409368 - ' lib/hiera/backend/eyaml/parser/parser.rb'
410369
411- # Offense count: 11
370+ # Offense count: 14
412371# This cop supports safe autocorrection (--autocorrect).
413- # Configuration parameters: AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, AllowedPatterns.
372+ # Configuration parameters: AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, AllowedPatterns, SplitStrings .
414373# URISchemes: http, https
415374Layout/LineLength :
416375 Max : 194
0 commit comments