Skip to content

Commit 24f6448

Browse files
committed
Naming/BlockParameterName
This commit enables the Rubocop Naming/BlockParameterName cop.
1 parent 2459781 commit 24f6448

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

.rubocop.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,11 @@ Metrics/PerceivedComplexity:
5858
Naming/BinaryOperatorParameterName:
5959
Enabled: false
6060

61+
Naming/BlockParameterName:
62+
Exclude:
63+
- 'lib/puppet/util/windows/daemon.rb'
64+
- 'lib/puppet/util/windows/user.rb'
65+
6166
Naming/ClassAndModuleCamelCase:
6267
Exclude:
6368
- 'lib/puppet/ffi/windows/structs.rb'

.rubocop_todo.yml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -646,12 +646,6 @@ Lint/UnusedMethodArgument:
646646
Naming/AccessorMethodName:
647647
Enabled: false
648648

649-
# Configuration parameters: MinNameLength, AllowNamesEndingInNumbers, AllowedNames, ForbiddenNames.
650-
Naming/BlockParameterName:
651-
Exclude:
652-
- 'lib/puppet/util/windows/daemon.rb'
653-
- 'lib/puppet/util/windows/user.rb'
654-
655649
# Configuration parameters: NamePrefix, ForbiddenPrefixes, AllowedMethods, MethodDefinitionMacros.
656650
# NamePrefix: is_, has_, have_
657651
# ForbiddenPrefixes: is_, has_, have_

0 commit comments

Comments
 (0)