mirror of
https://github.com/reactjs/react.dev.git
synced 2026-02-23 20:23:08 +00:00
Update 2017-11-28-react-v16.2.0-fragment-support.md
fix typo in instructions, link to eslint issue.
This commit is contained in:
@@ -247,7 +247,7 @@ yarn upgrade eslint@3.x babel-eslint@7
|
||||
npm update eslint@3.x babel-eslint@7
|
||||
```
|
||||
|
||||
Ensure you have the following line inside your `.babelrc`:
|
||||
Ensure you have the following line inside your `.eslintrc`:
|
||||
|
||||
```json
|
||||
"parser": "babel-eslint"
|
||||
@@ -255,7 +255,7 @@ 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.
|
||||
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 (issue is [here](https://github.com/eslint/eslint/issues/9662)).
|
||||
|
||||
### Editor Support
|
||||
|
||||
|
||||
Reference in New Issue
Block a user