Skip to content

Commit

Permalink
docs: beautify the docs
Browse files Browse the repository at this point in the history
  • Loading branch information
chuanzong.lcz@alibaba-inc.com committed Mar 14, 2021
1 parent 213a4e9 commit ef7d171
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,11 +46,11 @@ npm install git-commit-msg-linter --save-dev

**Just Install No Configurations Required** and your commit message is under linting from now on.

For husky@5 it will ignore the `.git/hooks/commit-msg` so a `.husky/commit-msg` need to add manually:

```sh
npx husky add .husky/commit-msg ".git/hooks/commit-msg \$1"
```
> This linter works by standalone. But if you have husky@5 installed, because husky@5 will ignore the `.git/hooks/commit-msg` so a `.husky/commit-msg` need to add manually:
>
> ```sh
> npx husky add .husky/commit-msg ".git/hooks/commit-msg \$1"
> ```
## Recommended Commit Message Format

Expand Down

0 comments on commit ef7d171

Please sign in to comment.