From 7cafb53b7b421bb0994121b9085710472ef1beb2 Mon Sep 17 00:00:00 2001 From: David Aurelio Date: Fri, 19 May 2017 07:26:20 -0700 Subject: [PATCH] Add `"node"` env to packager `.eslintrc` Reviewed By: cpojer Differential Revision: D5094630 fbshipit-source-id: 6ecb97da78d6cd5b7f61d1b2073d31309ded0932 --- packages/metro-bundler/.eslintrc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/packages/metro-bundler/.eslintrc b/packages/metro-bundler/.eslintrc index b3702489..6f2bcc4d 100644 --- a/packages/metro-bundler/.eslintrc +++ b/packages/metro-bundler/.eslintrc @@ -3,5 +3,8 @@ "extra-arrow-initializer": 0, "no-alert": 0, "no-console-disallow": 0 + }, + "env": { + "node": true } }