From 5a036669decd74125ec2d505f5e2d64651d625c9 Mon Sep 17 00:00:00 2001 From: Ankur Oberoi Date: Sun, 8 Apr 2018 18:25:31 -0700 Subject: [PATCH] updates readme for latest eslint & babel-eslint while i'm not 100% confident that the version range (`>=6.x`) is correct for compatibility with the latest versions of ESLint, it was def missing and unclear whether ESLint v4.x was supported. anecdotally, these versions work for me. also the installation instructions were referencing older versions of these packages (IMHO they don't need to reference any version at all, but i chose to stay with the convention). --- README.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 23f13c3b..4dbfc84f 100644 --- a/README.md +++ b/README.md @@ -47,6 +47,7 @@ It just needs to export a `parse` method that takes in a string of code and outp ESLint | babel-eslint ------------ | ------------- +4.x | >= 6.x 3.x | >= 6.x 2.x | >= 6.x 1.x | >= 5.x @@ -56,9 +57,9 @@ ESLint | babel-eslint Ensure that you have substituted the correct version lock for `eslint` and `babel-eslint` into this command: ```sh -$ npm install eslint@3.x babel-eslint@7 --save-dev +$ npm install eslint@4.x babel-eslint@8 --save-dev # or -$ yarn add eslint@3.x babel-eslint@7 -D +$ yarn add eslint@4.x babel-eslint@8 -D ``` ### Setup