Skip to content

Commit 15cb786

Browse files
committed
Naming/AccessorMethodName
This commit moves the Rubocop Naming/AccessorMethodName cop from the todo file to the .rubocop configuration file. This does not change any behavior but indicates that this behavior is known and intentional.
1 parent 24f6448 commit 15cb786

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.rubocop.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,9 @@ Metrics/ParameterLists:
5555
Metrics/PerceivedComplexity:
5656
Enabled: false
5757

58+
Naming/AccessorMethodName:
59+
Enabled: false
60+
5861
Naming/BinaryOperatorParameterName:
5962
Enabled: false
6063

.rubocop_todo.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -643,9 +643,6 @@ Lint/ToJSON:
643643
Lint/UnusedMethodArgument:
644644
Enabled: false
645645

646-
Naming/AccessorMethodName:
647-
Enabled: false
648-
649646
# Configuration parameters: NamePrefix, ForbiddenPrefixes, AllowedMethods, MethodDefinitionMacros.
650647
# NamePrefix: is_, has_, have_
651648
# ForbiddenPrefixes: is_, has_, have_

0 commit comments

Comments
 (0)