fix(profiles): fix vscode profile generation (#1027)
* fix(profiles): fix vscode profile generation - Add .instructions.md extension for VSCode Copilot instructions file. - Add customReplacement to remove unsupported property `alwaysApply` from YAML front-matter in VSCode instructions files. - Add missing property `targetExtension` to the base profile object to support the change to file extension. * chore: run format --------- Co-authored-by: Ralph Khreish <35776126+Crunchyman-ralph@users.noreply.github.com>
This commit is contained in:
@@ -234,6 +234,7 @@ export function createProfile(editorConfig) {
|
||||
globalReplacements: baseGlobalReplacements,
|
||||
conversionConfig,
|
||||
getTargetRuleFilename,
|
||||
targetExtension,
|
||||
// Optional lifecycle hooks
|
||||
...(onAdd && { onAddRulesProfile: onAdd }),
|
||||
...(onRemove && { onRemoveRulesProfile: onRemove }),
|
||||
|
||||
Reference in New Issue
Block a user