From 0a1d0149ed9050f6e898db8fa31f3d97efe2afc1 Mon Sep 17 00:00:00 2001 From: Lufty Wiranda Date: Mon, 1 May 2017 20:24:19 +0700 Subject: [PATCH 1/2] Update README.md --- packages/react-scripts/template/README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/packages/react-scripts/template/README.md b/packages/react-scripts/template/README.md index 34d27094f7a..4d540cde8b6 100644 --- a/packages/react-scripts/template/README.md +++ b/packages/react-scripts/template/README.md @@ -224,7 +224,9 @@ You would need to install an ESLint plugin for your editor first. Then, add a fi Now your editor should report the linting warnings. -Note that even if you edit your `.eslintrc` file further, these changes won’t affect the terminal and in-browser lint output. This is because Create React App intentionally provides a minimal set of rules that find common mistakes. If you want to enforce a coding style for your project, consider using [Prettier](https://github.com/jlongster/prettier) instead of ESLint style rules. +Note that even if you edit your `.eslintrc` file further, these changes will **only affect in editor**. They won’t affect the terminal and in-browser lint output. This is because Create React App intentionally provides a minimal set of rules that find common mistakes. + +If you want to enforce a coding style for your project, consider using [Prettier](https://github.com/jlongster/prettier) instead of ESLint style rules. ## Debugging in the Editor From 3346590ce90311d5ae898a77a7da9e15b9ebe66b Mon Sep 17 00:00:00 2001 From: Dan Abramov Date: Mon, 1 May 2017 14:31:58 +0100 Subject: [PATCH 2/2] Update README.md --- 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 4d540cde8b6..c43efcb2647 100644 --- a/packages/react-scripts/template/README.md +++ b/packages/react-scripts/template/README.md @@ -224,7 +224,7 @@ You would need to install an ESLint plugin for your editor first. Then, add a fi Now your editor should report the linting warnings. -Note that even if you edit your `.eslintrc` file further, these changes will **only affect in editor**. They won’t affect the terminal and in-browser lint output. This is because Create React App intentionally provides a minimal set of rules that find common mistakes. +Note that even if you edit your `.eslintrc` file further, these changes will **only affect the editor integration**. They won’t affect the terminal and in-browser lint output. This is because Create React App intentionally provides a minimal set of rules that find common mistakes. If you want to enforce a coding style for your project, consider using [Prettier](https://github.com/jlongster/prettier) instead of ESLint style rules.