Skip to content

Commit

Permalink
Update block length rule to ignore tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Greg Lazarev committed Jun 2, 2017
1 parent 4384e3b commit dfed6ab
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -345,6 +345,9 @@ Metrics/AbcSize:
conditions.
Enabled: true
Max: 15
Metrics/BlockLength:
Exclude:
- "spec/**/*"
Metrics/BlockNesting:
Description: Avoid excessive block nesting
StyleGuide: https://github.com/bbatsov/ruby-style-guide#three-is-the-number-thou-shalt-count
Expand Down

0 comments on commit dfed6ab

Please sign in to comment.