Style/Blocks Style/BlockNesting cops enabled

This commit is contained in:
Artem Chernikov 2014-07-30 23:36:32 +02:00
parent 4aa1f0bf3a
commit 99f773a040
2 changed files with 8 additions and 11 deletions

View file

@ -92,6 +92,14 @@ Style/AlignParameters:
Style/AndOr:
Enabled: true
# avoid deep blocks nesting
Style/BlockNesting:
Max: 4
# use do instead of {...} in multiline blocks
Style/Blocks:
Enabled: true
AllCops:
Include:
- '**/Rakefile'