You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -34,7 +34,7 @@ You can look up about git hooks on [git book](https://git-scm.com/book/en/v2/Cus
34
34
35
35
However, this package only allows you to set the `pre-commit` hook. If you need, for example `pre-push` hook or something else — this package wouln't be able to help you
36
36
37
-
Also, this package requires you to manually update the pre-commit hook. If you want update pre-commit hook often - this is probably not the best choice
37
+
Also, this package requires you to manually update the `pre-commit` hook. If you want update `pre-commit` hook often - this is probably not the best choice
38
38
39
39
If you need multiple hooks, flexible configuration or git hook automatic update feature — please check out other packages:
40
40
@@ -53,7 +53,7 @@ If you need multiple hooks, flexible configuration or git hook automatic update
53
53
npm install simple-pre-commit --save-dev
54
54
```
55
55
56
-
2. Add the `simple-pre-commit` to your `package.json`. Feed it with any command you would like to run as a pre-commit hook.
56
+
2. Add the `simple-pre-commit` to your `package.json`. Feed it with any command you would like to run as a `pre-commit` hook.
57
57
58
58
```json
59
59
"simple-pre-commit": "npx lint-staged"`
@@ -67,7 +67,7 @@ If you need multiple hooks, flexible configuration or git hook automatic update
67
67
npx simple-pre-commit
68
68
```
69
69
70
-
Now the command from `package.json` is set up as executable git pre-commit hook.
70
+
Now the command from `package.json` is set up as executable git `pre-commit` hook.
0 commit comments