Skip to content

Commit

Permalink
Naming/BlockParameterName
Browse files Browse the repository at this point in the history
This commit enables the Rubocop Naming/BlockParameterName cop.
  • Loading branch information
mhashizume committed Dec 12, 2023
1 parent ca6891f commit a8f76e5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
5 changes: 5 additions & 0 deletions .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,11 @@ Metrics/PerceivedComplexity:
Naming/BinaryOperatorParameterName:
Enabled: false

Naming/BlockParameterName:
Exclude:
- 'lib/puppet/util/windows/daemon.rb'
- 'lib/puppet/util/windows/user.rb'

Naming/ClassAndModuleCamelCase:
Exclude:
- 'lib/puppet/ffi/windows/structs.rb'
Expand Down
6 changes: 0 additions & 6 deletions .rubocop_todo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -646,12 +646,6 @@ Lint/UnusedMethodArgument:
Naming/AccessorMethodName:
Enabled: false

# Configuration parameters: MinNameLength, AllowNamesEndingInNumbers, AllowedNames, ForbiddenNames.
Naming/BlockParameterName:
Exclude:
- 'lib/puppet/util/windows/daemon.rb'
- 'lib/puppet/util/windows/user.rb'

# Configuration parameters: NamePrefix, ForbiddenPrefixes, AllowedMethods, MethodDefinitionMacros.
# NamePrefix: is_, has_, have_
# ForbiddenPrefixes: is_, has_, have_
Expand Down

0 comments on commit a8f76e5

Please sign in to comment.