From cc1fe3e82b6e68ceef501d7c227522ce0b430a65 Mon Sep 17 00:00:00 2001 From: Stoicescu Cristi Date: Tue, 21 Mar 2017 02:58:39 +0200 Subject: [PATCH 1/2] Removed blockquote from code section --- packages/react-scripts/template/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/react-scripts/template/README.md b/packages/react-scripts/template/README.md index bd065e9917e..0786c441ef8 100644 --- a/packages/react-scripts/template/README.md +++ b/packages/react-scripts/template/README.md @@ -226,7 +226,7 @@ You would need to install an ESLint plugin for your editor first. >VS Code ESLint plugin automatically detects Create React App's configuration file. So you do not need to create `eslintrc.json` at the root directory, except when you want to add your own rules. In that case, you should include CRA's config by adding this line: ->```js +```js { // ... "extends": "react-app" From d7cc28445939a37faef712f62bea79672ac7248f Mon Sep 17 00:00:00 2001 From: Dan Abramov Date: Tue, 21 Mar 2017 01:20:39 +0000 Subject: [PATCH 2/2] Fix the fix --- packages/react-scripts/template/README.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/packages/react-scripts/template/README.md b/packages/react-scripts/template/README.md index 0786c441ef8..147c9280e24 100644 --- a/packages/react-scripts/template/README.md +++ b/packages/react-scripts/template/README.md @@ -226,12 +226,12 @@ You would need to install an ESLint plugin for your editor first. >VS Code ESLint plugin automatically detects Create React App's configuration file. So you do not need to create `eslintrc.json` at the root directory, except when you want to add your own rules. In that case, you should include CRA's config by adding this line: -```js -{ - // ... - "extends": "react-app" -} -``` +>```js +>{ +> // ... +> "extends": "react-app" +>} +>``` Then add this block to the `package.json` file of your project: