Skip to content

Commit fbbcc32

Browse files
committed
Naming/VariableNumber
This commit disables the Rubocop Naming/VariableNumber cop. This check affects too much of our existing codebase and the cost of correcting potential violations outweighs the benefits of enabling this cop.
1 parent 0d33e9f commit fbbcc32

File tree

2 files changed

+3
-6
lines changed

2 files changed

+3
-6
lines changed

.rubocop.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,3 +120,6 @@ Naming/VariableName:
120120
- 'lib/puppet/util/windows/daemon.rb'
121121
- 'lib/puppet/util/windows/error.rb'
122122
- 'lib/puppet/util/windows/user.rb'
123+
124+
Naming/VariableNumber:
125+
Enabled: false

.rubocop_todo.yml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -664,12 +664,6 @@ Naming/BlockParameterName:
664664
Naming/PredicateName:
665665
Enabled: false
666666

667-
# Configuration parameters: EnforcedStyle, CheckMethodNames, CheckSymbols, AllowedIdentifiers.
668-
# SupportedStyles: snake_case, normalcase, non_integer
669-
# AllowedIdentifiers: capture3, iso8601, rfc1123_date, rfc822, rfc2822, rfc3339
670-
Naming/VariableNumber:
671-
Enabled: false
672-
673667
# Configuration parameters: EnforcedStyle, AllowModifiersOnSymbols.
674668
# SupportedStyles: inline, group
675669
Style/AccessModifierDeclarations:

0 commit comments

Comments
 (0)