From 975402b2857c72ae28f15ea5c6fe41d4ccf1c61a Mon Sep 17 00:00:00 2001 From: Kevin Peters Date: Tue, 10 Jul 2018 21:23:44 +0200 Subject: [PATCH] docs: fix example of husky pre-commit hook to include next version tag (#4812) --- docs/precommit.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/precommit.md b/docs/precommit.md index fea116b37..5d456fce3 100644 --- a/docs/precommit.md +++ b/docs/precommit.md @@ -12,7 +12,7 @@ You can use Prettier with a pre-commit tool. This can re-format your files that Install it along with [husky](https://github.com/typicode/husky): ```bash -yarn add lint-staged husky --dev +yarn add lint-staged husky@next --dev ``` and add this config to your `package.json`: