forked from reactjs/react.dev
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update 2017-11-28-react-v16.2.0-fragment-support.md
fix typo in instructions, link to eslint issue.
- Loading branch information
Showing
1 changed file
with
2 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -247,15 +247,15 @@ yarn upgrade [email protected] 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" | ||
``` | ||
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 | ||
|