From b05fe3bf6309d28d5057c181af1958f74ae2e299 Mon Sep 17 00:00:00 2001 From: Behnam Mohammadi Date: Thu, 6 Feb 2020 17:16:09 +0330 Subject: [PATCH] Added husky.config.js (#595) --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index b9503e3a8..fa7fbed1a 100644 --- a/README.md +++ b/README.md @@ -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(' && ')