Skip to content

Commit

Permalink
Merge branch 'master' into next
Browse files Browse the repository at this point in the history
  • Loading branch information
typicode committed Oct 12, 2019
2 parents 822caa0 + a383180 commit fd7c5e8
Show file tree
Hide file tree
Showing 12 changed files with 2,171 additions and 1,281 deletions.
11 changes: 7 additions & 4 deletions .github/ISSUE_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
<!--
If you like husky, please consider supporting this project by clicking the Sponsor button :)
Please check the Troubleshoot section in the README and try running commands with HUSKY_DEBUG=1 for additional informations.
-->
<!-- If you like husky 🐶, please consider supporting this project by clicking the Sponsor button -->

Before creating an issue, please check the [troubleshoot](https://github.com/typicode/husky#troubleshoot) section in the README and run commands with `HUSKY_DEBUG=1` to get additional information.

```sh
$ HUSKY_DEBUG=1 npm install husky --save-dev
$ HUSKY_DEBUG=1 git commit # ...
```
11 changes: 9 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,9 @@ npm install husky@next --save-dev
git commit -m 'Keep calm and commit'
```

_Existing hooks are kept. Requires Node `>= 8.6.0` and Git `>= 2.13.2`._
_Existing hooks are kept. Requires Node `>= 8.6.0` and Git `>= 2.13.0`._

__Note__: if you're trying Yarn v2, please install `husky@next`. See [next](https://github.com/typicode/husky/tree/next) branch.

## Uninstall

Expand Down Expand Up @@ -122,6 +124,7 @@ Support this project with your organization. Your logo will show up here with a
+ [Commits aren't blocked](#commits-arent-blocked)
+ [Commits are slow](#commits-are-slow)
+ [Testing husky in a new repo](#testing-husky-in-a-new-repo)
+ [ENOENT error 'node_modules/husky/.git/hooks'](#enoent-error-node_moduleshuskygithooks)

<!-- tocstop -->

Expand Down Expand Up @@ -276,7 +279,7 @@ Tools like [npm-run-all](https://github.com/mysticatea/npm-run-all) can help too

#### Debug messages

`HUSKY_DEBUG=1` can provide additional informations when running commands.
`HUSKY_DEBUG=1` can provide additional information when running commands.

```
HUSKY_DEBUG=1 npm install husky --save-dev
Expand Down Expand Up @@ -322,6 +325,10 @@ npm install husky --save-dev
# Make a commit
```

#### ENOENT error 'node_modules/husky/.git/hooks'

Verify that your version of Git is `>=2.13.0`.

## See also

* [pkg-ok](https://github.com/typicode/pkg-ok) - Prevents publishing a module with bad paths or incorrect line endings
Expand Down

0 comments on commit fd7c5e8

Please sign in to comment.