From 47ab105c1b98945b4d8d7f8029fdcb0e21d9002b Mon Sep 17 00:00:00 2001 From: Eric Vicenti Date: Fri, 3 Apr 2015 10:05:36 -0700 Subject: [PATCH] [ReactNative] Turn of lint warning for constant conditions --- .eslintrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.eslintrc b/.eslintrc index 8de521e66..a81fb56f3 100644 --- a/.eslintrc +++ b/.eslintrc @@ -37,7 +37,7 @@ "rules": { "no-cond-assign": 1, // disallow assignment in conditional expressions "no-console": 0, // disallow use of console (off by default in the node environment) - "no-constant-condition": 1, // disallow use of constant expressions in conditions + "no-constant-condition": 0, // disallow use of constant expressions in conditions "no-comma-dangle": 0, // disallow trailing commas in object literals "no-control-regex": 1, // disallow control characters in regular expressions "no-debugger": 1, // disallow use of debugger