Skip to content

Commit

Permalink
Fix AllowedMethod parameter name
Browse files Browse the repository at this point in the history
Resolves warning:

> Warning: Style/TrivialAccessors does not support AllowedMethod parameter.
>
> Supported parameters are:
>
>  - Enabled
>  - ExactNameMatch
>  - AllowPredicates
>  - AllowDSLWriters
>  - IgnoreClassMethods
>  - AllowedMethods

(Issue where bug introduced to Rubocop)[rubocop/rubocop#7469]
(Issue describing resolution)[rubocop/rubocop#7530]
  • Loading branch information
sihugh committed Dec 30, 2019
1 parent eaec713 commit d226799
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/gds-ruby-styleguide.yml
Expand Up @@ -245,7 +245,7 @@ Style/TrivialAccessors:
ExactNameMatch: true
AllowPredicates: true
AllowDSLWriters: false
AllowedMethod:
AllowedMethods:
- to_ary
- to_a
- to_c
Expand Down

0 comments on commit d226799

Please sign in to comment.