Changesets · Branches · Tags · Compare
| Changeset | d4eec0630c2ebab1a9f0eca67392aa010229db41d8003acddfcfce86a3950d4d |
|---|---|
| Author | Nate Sesti <33237525+sestinj@users.noreply.github.com> · 2025-09-17 23:06 -07:00 |
| Committer | GitHub <noreply@github.com> · 2025-09-17 23:06 -07:00 |
| Parents | f67954d2bf34 |
1 file changed
modified packages/config-yaml/src/markdown/createMarkdownRule.ts +5 −0
| @@ -36,6 +36,7 @@ | ||
| 36 | 36 | globs?: string | string[]; |
| 37 | 37 | regex?: string | string[]; |
| 38 | 38 | alwaysApply?: boolean; |
| 39 | + invokable?: boolean; | |
| 39 | 40 | } = {}, |
| 40 | 41 | ): string { |
| 41 | 42 | const frontmatter: RuleFrontmatter = {}; |
| @@ -54,6 +55,10 @@ | ||
| 54 | 55 | frontmatter.description = options.description.trim(); |
| 55 | 56 | } |
| 56 | 57 | |
| 58 | + if (options.invokable !== undefined) { | |
| 59 | + frontmatter.invokable = options.invokable; | |
| 60 | + } | |
| 61 | + | |
| 57 | 62 | if (options.alwaysApply !== undefined) { |
| 58 | 63 | frontmatter.alwaysApply = options.alwaysApply; |
| 59 | 64 | } |