From 7a12bd3ff326d99c59e07f7b44000b636b28a524 Mon Sep 17 00:00:00 2001 From: typicode Date: Sun, 24 Sep 2023 23:05:30 +0200 Subject: [PATCH] docs: simplify --- docs/getting-started.md | 4 ++-- docs/index.md | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/getting-started.md b/docs/getting-started.md index 0128dec8b..02294f521 100644 --- a/docs/getting-started.md +++ b/docs/getting-started.md @@ -35,7 +35,7 @@ To automatically have Git hooks enabled after install, edit `package.json` ::: -Create a `pre-commit` hook +Create a `pre-commit` file in `husky/` directory ::: code-group @@ -53,7 +53,7 @@ git commit -m "Keep calm and commit" ``` ::: info -Yarn 2+ doesn't support `prepare` lifecycle script, so husky needs to be installed differently (this doesn't apply to Yarn 1 though). See [Yarn 2+ install](#yarn-2). +Yarn 2+ doesn't support `prepare` lifecycle script, so husky needs to be installed differently. See [Yarn 2+ install](#yarn-2). ::: ::: warning diff --git a/docs/index.md b/docs/index.md index 311a78861..2d52d0371 100644 --- a/docs/index.md +++ b/docs/index.md @@ -8,7 +8,7 @@ Husky improves your commits and more 🐶 _woof!_ -You can use it to **lint your commit messages**, **run tests**, **lint code**, etc... when you commit or push. Husky supports [all Git hooks](https://git-scm.com/docs/githooks). +You can use it to **lint your commit messages**, **run tests**, **lint code**, etc... when you commit or push. Husky supports [all client-side Git hooks](https://git-scm.com/docs/githooks). Click [here](/getting-started) to get started.