Skip to content

Commit b957ccc

Browse files
fix(lint): fix remaining hook-block lint errors in taskstoissues.md
1 parent eecdec1 commit b957ccc

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

templates/commands/taskstoissues.md

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ You **MUST** consider the user input before proceeding (if not empty).
1717
## Pre-Execution Checks
1818

1919
**Check for extension hooks (before tasks-to-issues conversion)**:
20+
2021
- Check if `.specify/extensions.yml` exists in the project root.
2122
- If it exists, read it and look for entries under the `hooks.before_taskstoissues` key
2223
- If the YAML cannot be parsed or is invalid, skip hook checking silently and continue normally
@@ -26,7 +27,8 @@ You **MUST** consider the user input before proceeding (if not empty).
2627
- If the hook defines a non-empty `condition`, skip the hook and leave condition evaluation to the HookExecutor implementation
2728
- For each executable hook, output the following based on its `optional` flag:
2829
- **Optional hook** (`optional: true`):
29-
```
30+
31+
```text
3032
## Extension Hooks
3133
3234
**Optional Pre-Hook**: {extension}
@@ -36,8 +38,10 @@ You **MUST** consider the user input before proceeding (if not empty).
3638
Prompt: {prompt}
3739
To execute: `/{command}`
3840
```
41+
3942
- **Mandatory hook** (`optional: false`):
40-
```
43+
44+
```text
4145
## Extension Hooks
4246
4347
**Automatic Pre-Hook**: {extension}
@@ -46,6 +50,7 @@ You **MUST** consider the user input before proceeding (if not empty).
4650
4751
Wait for the result of the hook command before proceeding to the Outline.
4852
```
53+
4954
- If no hooks are registered or `.specify/extensions.yml` does not exist, skip silently
5055
5156
## Outline
@@ -69,7 +74,8 @@ git config --get remote.origin.url
6974
## Post-Execution Checks
7075

7176
**Check for extension hooks (after tasks-to-issues conversion)**:
72-
Check if `.specify/extensions.yml` exists in the project root.
77+
78+
- Check if `.specify/extensions.yml` exists in the project root.
7379
- If it exists, read it and look for entries under the `hooks.after_taskstoissues` key
7480
- If the YAML cannot be parsed or is invalid, skip hook checking silently and continue normally
7581
- Filter out hooks where `enabled` is explicitly `false`. Treat hooks without an `enabled` field as enabled by default.

0 commit comments

Comments
 (0)