From 6bb0d197c589bd981004a6927b86991253fb166d Mon Sep 17 00:00:00 2001 From: Michael Krotscheck Date: Thu, 27 Aug 2015 15:45:34 -0700 Subject: [PATCH] Enable no-empty rule This rule will error if it detects an empty block statement in javascript. http://eslint.org/docs/rules/no-empty Change-Id: I46d73c63f4615390d770230ce06d9a21a03e32b7 --- .eslintrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.eslintrc b/.eslintrc index 568ee54..7f715c9 100644 --- a/.eslintrc +++ b/.eslintrc @@ -103,7 +103,7 @@ rules: # Disallow empty block statements. # http://eslint.org/docs/rules/no-empty - no-empty: 0 # TODO(krotscheck): Discuss & Activate + no-empty: 2 # Disallow assigning of the exception parameter in a catch block. # http://eslint.org/docs/rules/no-ex-assign