Skip to content

Commit 6756050

Browse files
authored
docs: Add eslint-config-prettier to devDependencies in custom-hooks example (#1127)
* Add eslint-config-prettier to devDependencies in custom-hooks example * Remove unnecessary run from start command
1 parent 4a7ca0c commit 6756050

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

examples/custom-hooks/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@
33
To run this example:
44

55
- `npm install` or `yarn`
6-
- `npm run start` or `yarn start`
6+
- `npm start` or `yarn start`

examples/custom-hooks/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,8 @@
2020
"@rescripts/cli": "^0.0.11",
2121
"@rescripts/rescript-use-babel-config": "^0.0.8",
2222
"@rescripts/rescript-use-eslint-config": "^0.0.9",
23-
"babel-eslint": "10.0.1"
23+
"babel-eslint": "10.0.1",
24+
"eslint-config-prettier": "^6.12.0"
2425
},
2526
"browserslist": {
2627
"production": [

0 commit comments

Comments
 (0)