Skip to content

Commit

Permalink
Replace ExcludedMethods by IgnoredMethods
Browse files Browse the repository at this point in the history
`ExcludedMethods` becomes obsolete in later version
of rubocop, showing warnings.

See rubocop/rubocop#9098
and https://github.com/rubocop/rubocop/blob/1e55b1aa5e4c5eaeccad5d61f08b7930ed6bc341/relnotes/v1.5.0.md
  • Loading branch information
agatheblues committed Sep 10, 2021
1 parent 5b7fe9c commit 4e8ed0b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .rubocop.yml
Expand Up @@ -42,7 +42,7 @@ Metrics/MethodLength:

Metrics/BlockLength:
Enabled: true
ExcludedMethods: ['describe', 'context', 'define', 'factory', 'namespace']
IgnoredMethods: ['describe', 'context', 'define', 'factory', 'namespace']

Metrics/AbcSize:
Enabled: true
Expand Down

0 comments on commit 4e8ed0b

Please sign in to comment.