Tell Rubocop to enforce semantic block delimiters

See core commit:
b838da8b83
pull/6827/head
Alex Coles 9 years ago
parent fa0300b176
commit 8f91dbc1a9
  1. 9
      .rubocop.yml

@ -30,6 +30,15 @@ Attr:
BlockNesting:
Enabled: false
BlockDelimiters:
Enabled: true
EnforcedStyle: semantic
IgnoredMethods:
- default_scope
- lambda
- proc
- it
Blocks:
Enabled: false

Loading…
Cancel
Save