From fc8f6c423a0c04e989baaf496c4bb7cf29951a23 Mon Sep 17 00:00:00 2001 From: Michael Krotscheck Date: Thu, 27 Aug 2015 15:56:10 -0700 Subject: [PATCH] Enabled eqeqeq This rule enforces === and !== usage, rather than relying on the rather obscure falsyness comparison within javascript. http://eslint.org/docs/rules/eqeqeq Change-Id: Ib038d1021a00973ef924d106c78b7e1caff913cd --- .eslintrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.eslintrc b/.eslintrc index 8ef185b..a3263ef 100644 --- a/.eslintrc +++ b/.eslintrc @@ -215,7 +215,7 @@ rules: # Require the use of === and !== # http://eslint.org/docs/rules/eqeqeq - eqeqeq: 0 # TODO(krotscheck): Discuss & Activate + eqeqeq: 2 # Make sure for-in loops have an if statement # http://eslint.org/docs/rules/guard-for-in