Skip to content

Commit

Permalink
docs: add info about when lefthook and jobs options were added
Browse files Browse the repository at this point in the history
  • Loading branch information
mrexox committed Jan 14, 2025
1 parent 607c9a6 commit fa284c2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/mdbook/configuration/jobs.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
## `jobs`

> Added in lefthook `1.10.0`
Jobs provide a flexible way to define tasks, supporting both commands and scripts. Jobs can be grouped for advanced flow control.

### Basic example
Expand Down
2 changes: 2 additions & 0 deletions docs/mdbook/configuration/lefthook.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

**Default:** `null`

> Added in lefthook `1.10.5`
Provide a full path to lefthook executable or a command to run lefthook. Bourne shell (`sh`) syntax is supported.

> **Important:** This option does not merge from `remotes` or `extends` for security reasons. But it gets merged from lefthook local config if specified.
Expand Down

0 comments on commit fa284c2

Please sign in to comment.