Browse Source

Update 2017-11-28-react-v16.2.0-fragment-support.md

fix typo in instructions, link to eslint issue.
main
jonathan schatz 7 years ago
committed by GitHub
parent
commit
dcbfae5043
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      content/blog/2017-11-28-react-v16.2.0-fragment-support.md

4
content/blog/2017-11-28-react-v16.2.0-fragment-support.md

@ -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

Loading…
Cancel
Save