Skip to content

Commit 326d632

Browse files
authored
📝 Update readme with Husky 4 stuff 😑 (#378)
1 parent 70f2488 commit 326d632

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

README.md

+5-3
Original file line numberDiff line numberDiff line change
@@ -145,8 +145,7 @@ module.exports = require('@hover/javascript/prettier')
145145

146146
Or, for Jest in `jest.config.js`:
147147

148-
> Note: if **ts-jest** is installed, it will automatically be used as the
149-
> `preset`
148+
> ℹ️ If **ts-jest** is installed, it will automatically be used as the `preset`
150149
151150
```js
152151
const config = require('@hover/javascript/jest')
@@ -208,8 +207,11 @@ should work with other solutions as well.
208207

209208
1. Install Husky
210209

210+
> ⚠️ We're sticking with Husky 4 for now as 5+ has licensing restrictions for
211+
> commercial projects and significantly changes how hooks are configured
212+
211213
```sh
212-
yarn add -D husky
214+
yarn add -D 'husky@^4.3.8'
213215
```
214216

215217
2. Configure hooks in `package.json`

0 commit comments

Comments
 (0)