From 04e5e446beb2debcdd8f1cee2e20ab30abc737ea Mon Sep 17 00:00:00 2001 From: Dan Abramov Date: Tue, 28 Nov 2017 22:09:50 +0000 Subject: [PATCH] Reword the note about ESLint fragment support (#363) --- content/blog/2017-11-28-react-v16.2.0-fragment-support.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/content/blog/2017-11-28-react-v16.2.0-fragment-support.md b/content/blog/2017-11-28-react-v16.2.0-fragment-support.md index 2fabaca9..a2cb6e9c 100644 --- a/content/blog/2017-11-28-react-v16.2.0-fragment-support.md +++ b/content/blog/2017-11-28-react-v16.2.0-fragment-support.md @@ -229,7 +229,7 @@ to update Flow to the latest version. ### ESLint -JSX Fragments are supported by [ESLint](https://eslint.org/) via [babel-eslint](https://github.com/babel/babel-eslint)! If you are not currently using it, then install it: +JSX Fragments are supported by [ESLint](https://eslint.org/) 3.x when it is used together with [babel-eslint](https://github.com/babel/babel-eslint): ```bash # for yarn users @@ -255,6 +255,8 @@ Ensure you have the following line inside your `.babelrc`: That's it! +Note that `babel-eslint` is not officially supported by ESLint. We'll be looking into adding support for fragments to ESLint 4.x itself in the coming weeks. + ### Editor Support It may take a while for fragment syntax to be supported in your text editor. Please be patient as the community works to adopt the latest changes. In the meantime, you may see errors or inconsistent highlighting if your editor does not yet support fragment syntax. Generally, these errors can be safely ignored.