Browse Source

Merge pull request #379 from modosc/patch-1

Update 2017-11-28-react-v16.2.0-fragment-support.md
main
Brian Vaughn 7 years ago
committed by GitHub
parent
commit
876bdc378a
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 (see [issue #9662](https://github.com/eslint/eslint/issues/9662)).
### Editor Support

Loading…
Cancel
Save