Commit f4a53eea authored by Ville Immonen's avatar Ville Immonen Committed by Dan Abramov
Browse files

Remove eslintConfig from package.json (#649)

parent 052336db
No related merge requests found
Showing with 1 addition and 9 deletions
+1 -9
......@@ -30,11 +30,6 @@ module.exports = function(appPath, appName, verbose, originalDirectory) {
'eject': 'react-scripts eject'
};
// explicitly specify ESLint config path for editor plugins
appPackage.eslintConfig = {
extends: './node_modules/react-scripts/config/eslint.js',
};
fs.writeFileSync(
path.join(appPath, 'package.json'),
JSON.stringify(appPackage, null, 2)
......
......@@ -157,7 +157,7 @@ You would need to install an ESLint plugin for your editor first.
><img src="http://i.imgur.com/yVNNHJM.png" width="300">
Then make sure `package.json` of your project ends with this block:
Then add this block to the `package.json` file of your project:
```js
{
......@@ -168,9 +168,6 @@ Then make sure `package.json` of your project ends with this block:
}
```
Projects generated with `react-scripts@0.2.0` and higher should already have it.
If you don’t need ESLint integration with your editor, you can safely delete those three lines from your `package.json`.
Finally, you will need to install some packages *globally*:
```sh
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment