Revert "Enable Style/BlockDelimiters rule."

This reverts commit 3c22fb6b70.
This commit is contained in:
Guo Xiang Tan 2018-11-30 10:59:45 +08:00
parent eecd1a7d8c
commit df2d02a7bc

View File

@ -2,11 +2,11 @@ AllCops:
TargetRubyVersion: 2.4
DisabledByDefault: true
Exclude:
- "db/schema.rb"
- "bundle/**/*"
- "vendor/**/*"
- "node_modules/**/*"
- "public/**/*"
- 'db/schema.rb'
- 'bundle/**/*'
- 'vendor/**/*'
- 'node_modules/**/*'
- 'public/**/*'
# Prefer &&/|| over and/or.
Style/AndOr:
@ -17,10 +17,6 @@ Style/AndOr:
Style/BracesAroundHashParameters:
Enabled: true
# Check for uses of braces or do/end around single line or multi-line blocks.
Style/BlockDelimiters:
Enabled: true
# Align `when` with `case`.
Layout/CaseIndentation:
Enabled: true