From c9b8d2dfd153c93b1be34f2bc29dc8f2a21cb49e Mon Sep 17 00:00:00 2001 From: Evan Brodie Date: Sun, 9 Jul 2017 21:03:59 -0400 Subject: [PATCH] Readme update usage section (babel/babel-eslint#501) [skip ci] * Updates README: Consolidates versioning table Basically a revert of 52b4a13. It is easier to read a single table instead of two locations in the README for the version compatabilities between ESLint and babel-eslint * Updates README: Add yarn command for installation * [skip ci] --- eslint/babel-eslint-parser/README.md | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/eslint/babel-eslint-parser/README.md b/eslint/babel-eslint-parser/README.md index 3690e3dff9..be6878570a 100644 --- a/eslint/babel-eslint-parser/README.md +++ b/eslint/babel-eslint-parser/README.md @@ -43,20 +43,22 @@ It just needs to export a `parse` method that takes in a string of code and outp ## Usage -> ESLint 1.x | Use <= 5.x - -> ESLint 2.x | Use >= 6.x - ### Supported ESLint versions ESLint | babel-eslint ------------ | ------------- 3.x | >= 6.x +2.x | >= 6.x +1.x | >= 5.x ### Install +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 +# or +$ yarn add eslint@3.x babel-eslint@7 -D ``` ### Setup