From 311aeb8ca53f40044072a7d7d8d8e34dab8fcc8e Mon Sep 17 00:00:00 2001 From: cseas Date: Fri, 2 Oct 2020 16:42:33 +0530 Subject: [PATCH 1/2] Add eslint-config-prettier to devDependencies in custom-hooks example --- examples/custom-hooks/package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/examples/custom-hooks/package.json b/examples/custom-hooks/package.json index f5608b704b..7b994b3317 100644 --- a/examples/custom-hooks/package.json +++ b/examples/custom-hooks/package.json @@ -20,7 +20,8 @@ "@rescripts/cli": "^0.0.11", "@rescripts/rescript-use-babel-config": "^0.0.8", "@rescripts/rescript-use-eslint-config": "^0.0.9", - "babel-eslint": "10.0.1" + "babel-eslint": "10.0.1", + "eslint-config-prettier": "^6.12.0" }, "browserslist": { "production": [ From c40e537e8d738888213aa0f4b0da12580146e889 Mon Sep 17 00:00:00 2001 From: cseas Date: Fri, 2 Oct 2020 16:51:34 +0530 Subject: [PATCH 2/2] Remove unnecessary run from start command --- examples/custom-hooks/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/custom-hooks/README.md b/examples/custom-hooks/README.md index b168d3c4b1..115199d292 100644 --- a/examples/custom-hooks/README.md +++ b/examples/custom-hooks/README.md @@ -3,4 +3,4 @@ To run this example: - `npm install` or `yarn` -- `npm run start` or `yarn start` +- `npm start` or `yarn start`