From 30b9d81087cb86f5fb272d00bfee63a0632009f5 Mon Sep 17 00:00:00 2001 From: slorber Date: Tue, 31 Jul 2018 02:23:58 -0700 Subject: [PATCH] Add .nvmrc + fix node version for eslint 5 compat (#20109) Summary: A .nvmrc file is practical when working on many node projects with different version requirements. Also, the current required node engine is incompatible with eslint5 requirements: ```js "engines": { "node": ">=8" }, ``` It produces the following warning on install: > error eslint@5.0.1: The engine "node" is incompatible with this module. Expected version "^6.14.0 || ^8.10.0 || >=9.10.0". > error Found incompatible module I made the requirement compatible with eslint5 requirements Pull Request resolved: https://github.com/facebook/react-native/pull/20109 Differential Revision: D9071440 Pulled By: hramos fbshipit-source-id: 0d3728d03cad20d22c67a731a6d283cea48b8da8 --- .nvmrc | 1 + 1 file changed, 1 insertion(+) create mode 100644 .nvmrc diff --git a/.nvmrc b/.nvmrc new file mode 100644 index 00000000000000..dba04c1e1786b2 --- /dev/null +++ b/.nvmrc @@ -0,0 +1 @@ +8.11.3