Skip to content

Commit

Permalink
Rename rubocop rule from IgnoredMethods to AllowedMethods
Browse files Browse the repository at this point in the history
  • Loading branch information
mikezaby committed Jan 9, 2024
1 parent ffaf75c commit e7beca5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Metrics/MethodLength:
Max: 15

Metrics/BlockLength:
IgnoredMethods:
AllowedMethods:
- class_methods

Style/Documentation:
Expand Down
2 changes: 1 addition & 1 deletion spec/.rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ inherit_from: ../.rubocop.yml
require: rubocop-rspec

Metrics/BlockLength:
IgnoredMethods: ['describe', 'context']
AllowedMethods: ['describe', 'context']

Style/NumericLiterals:
Enabled: false

0 comments on commit e7beca5

Please sign in to comment.