From d82af3cb921650688e175c59c8ce4ce7b9cfaef5 Mon Sep 17 00:00:00 2001 From: Alex Kotliarskyi Date: Wed, 9 Sep 2015 01:37:01 -0700 Subject: [PATCH] Fix "global-strict" lint Reviewed By: @vjeux Differential Revision: D2420561 --- .eslintrc | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.eslintrc b/.eslintrc index e1ec93029f2bd1..5a2f08c5242f81 100644 --- a/.eslintrc +++ b/.eslintrc @@ -126,9 +126,7 @@ // Strict Mode // These rules relate to using strict mode. - "global-strict": [2, "always"], // require or disallow the "use strict" pragma in the global scope (off by default in the node environment) - "no-extra-strict": 1, // disallow unnecessary use of "use strict"; when already in strict mode - "strict": 0, // require that all functions are run in strict mode + "strict": [2, "global"], // require or disallow the "use strict" pragma in the global scope (off by default in the node environment) // Variables // These rules have to do with variable declarations.