Skip to content

Commit e7beca5

Browse files
committed
Rename rubocop rule from IgnoredMethods to AllowedMethods
1 parent ffaf75c commit e7beca5

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.rubocop.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Metrics/MethodLength:
1111
Max: 15
1212

1313
Metrics/BlockLength:
14-
IgnoredMethods:
14+
AllowedMethods:
1515
- class_methods
1616

1717
Style/Documentation:

spec/.rubocop.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ inherit_from: ../.rubocop.yml
33
require: rubocop-rspec
44

55
Metrics/BlockLength:
6-
IgnoredMethods: ['describe', 'context']
6+
AllowedMethods: ['describe', 'context']
77

88
Style/NumericLiterals:
99
Enabled: false

0 commit comments

Comments
 (0)