Skip to content

Commit

Permalink
Naming/AccessorMethodName
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
mhashizume committed Dec 12, 2023
1 parent a8f76e5 commit c14dd55
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
3 changes: 3 additions & 0 deletions .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,9 @@ Metrics/ParameterLists:
Metrics/PerceivedComplexity:
Enabled: false

Naming/AccessorMethodName:
Enabled: false

Naming/BinaryOperatorParameterName:
Enabled: false

Expand Down
3 changes: 0 additions & 3 deletions .rubocop_todo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -643,9 +643,6 @@ Lint/ToJSON:
Lint/UnusedMethodArgument:
Enabled: false

Naming/AccessorMethodName:
Enabled: false

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

0 comments on commit c14dd55

Please sign in to comment.