Merge pull request #3142 from kristinalim/fix-rubocop_block_length_ignore_describe_context

Ignore `describe` and `context` in Rubocop BlockLength
This commit is contained in:
Maikel
2018-11-27 14:54:46 +11:00
committed by GitHub

View File

@@ -186,6 +186,9 @@ Lint/AssignmentInCondition:
Metrics/AbcSize:
Max: 15
Metrics/BlockLength:
ExcludedMethods: ["describe", "context"]
Metrics/BlockNesting:
Max: 3