Skip to content

Commit de9a60c

Browse files
author
Guillaume MOCQUET
committed
docs(readme): update check-branch-linearity info
1 parent c4fb368 commit de9a60c

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

README.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,16 +8,17 @@ Some out-of-the-box hooks for [pre-commit](https://github.com/pre-commit/pre-com
88
Add this to your `.pre-commit-config.yaml`
99

1010
- repo: https://github.com/Kpler/kp-pre-commit-hooks.git
11-
rev: v0.0.3 # Use the ref you want to point at
11+
rev: v0.0.7 # Use the ref you want to point at
1212
hooks:
1313
- id: check-branch-linearity
14-
- id: check-commit-first-line-length
1514
- id: check-branch-name
15+
- id: no-ephemeral-links
16+
exclude: '\.md$'
1617

1718
### Hooks available
1819

1920
#### `check-branch-linearity`
20-
Simply check that your branch doesn't not contain any merge compare to master.
21+
Simply check that your branch doesn't not contain any merge compare to `master` or `main` branch.
2122
It's a pre-push hook and will always run
2223

2324
#### `check-branch-name`

0 commit comments

Comments
 (0)