Revert "Enable `Style/BlockDelimiters` rule."

Revert “Enable Style/BlockDelimiters rule.”

This reverts commit 3c22fb6b7034df7f9bd5adf0b07c781d694fcbcf.

From df2d02a7bc4c1cf4390690e6583c5b8b5bdd24de Mon Sep 17 00:00:00 2001
From: Guo Xiang Tan <tgx_world@hotmail.com>
Date: Fri, 30 Nov 2018 10:59:45 +0800
Subject: [PATCH] Revert "Enable `Style/BlockDelimiters` rule."

This reverts commit 3c22fb6b7034df7f9bd5adf0b07c781d694fcbcf.

diff --git a/.rubocop.yml b/.rubocop.yml
index 6fb7ac2..e28a087 100644
--- a/.rubocop.yml
+++ b/.rubocop.yml
@@ -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
@@ -57,7 +53,7 @@ Layout/SpaceAroundOperators:
   Enabled: true
 
 Layout/SpaceBeforeFirstArg:
-  Enabled: true
+    Enabled: true
 
 # Defining a method with parameters needs parentheses.
 Style/MethodDefParentheses:

GitHub

What happened here, what stuff do we need to fix?

@SamSaffron It was meant to be a PR but I accidentally pushed the commit.

2 Likes