Skip to content

Commit

Permalink
Added husky.config.js (#595)
Browse files Browse the repository at this point in the history
  • Loading branch information
behnammodi committed Feb 6, 2020
1 parent 2998c95 commit b05fe3b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@ By design and just like `scripts` defined in `package.json`, husky will run hook
"pre-commit": "cmd && cmd"
```

That said, if you prefer to use an array, the recommended approach is to define them in `.huskyrc.js`.
That said, if you prefer to use an array, the recommended approach is to define them in `.huskyrc.js` or `husky.config.js`.

```js
const tasks = arr => arr.join(' && ')
Expand Down

0 comments on commit b05fe3b

Please sign in to comment.