From 31684e6918a847239cb68a9dd77823ca7eaa3cdd Mon Sep 17 00:00:00 2001 From: Jonas Jenwald Date: Thu, 19 Jan 2017 18:29:50 +0100 Subject: [PATCH] Enable the `no-lone-blocks` ESLint rule http://eslint.org/docs/rules/no-lone-blocks Note that we currently have no code that violates this rule in the source files, but it seems that the built files are possibly affected (see issue 7957). --- .eslintrc | 1 + 1 file changed, 1 insertion(+) diff --git a/.eslintrc b/.eslintrc index 6a712e877..580f636e2 100644 --- a/.eslintrc +++ b/.eslintrc @@ -53,6 +53,7 @@ "no-fallthrough": "error", "no-global-assign": "error", "no-implied-eval": "error", + "no-lone-blocks": "error", "no-multi-spaces": "error", "no-multi-str": "error", "no-new-func": "error",