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
+6-3Lines changed: 6 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,10 @@
5
5
6
6
A tool that lets you easily manage git hooks
7
7
8
-
> The package was recently renamed from `simple-pre-commit`. See **Releases** for the `simple-pre-commit` documentation.
8
+
> The package was recently renamed from `simple-pre-commit`.
9
+
10
+
11
+
> See **Releases** for the `simple-pre-commit` documentation and changelog
9
12
10
13
- Zero dependency
11
14
- Small configuration (1 object in package.json)
@@ -116,11 +119,11 @@ Note that you should manually run `npx simple-git-hooks` **every time you change
116
119
117
120
### Additional configuration options
118
121
119
-
You can also add a `.simple-git-hooks.js`, `simple-git-hooks.js`, `.simple-git-hooks.json` or `simple-git-hooks.json` file to the project and write the configuration inside it.
122
+
You can also add a `.simple-git-hooks.cjs`, `.simple-git-hooks.js`, `simple-git-hooks.cjs`, `simple-git-hooks.js`, `.simple-git-hooks.json` or `simple-git-hooks.json` file to the project and write the configuration inside it.
120
123
121
124
This way `simple-git-hooks` configuration in`package.json` will not take effect any more.
122
125
123
-
`.simple-git-hooks.js` or `simple-git-hooks.js` should look like the following.
126
+
`.simple-git-hooks.cjs`, `.simple-git-hooks.js` or`simple-git-hooks.cjs`,`simple-git-hooks.js` should look like the following.
0 commit comments