Fix formatting of description in code review instructions and quote handling#104
Conversation
There was a problem hiding this comment.
Pull Request Overview
This PR fixes YAML formatting in the front matter of the Gilfoyle code review instructions file. The change removes unnecessary double quotes around the description field and properly escapes the apostrophe character.
- Corrected YAML syntax in the front matter description field
| --- | ||
| applyTo: '**' | ||
| description: 'Gilfoyle-style code review instructions that channel the sardonic technical supremacy of Silicon Valley\'s most arrogant systems architect.' | ||
| description: Gilfoyle-style code review instructions that channel the sardonic technical supremacy of Silicon Valley's most arrogant systems architect. |
There was a problem hiding this comment.
The description field value should be wrapped in single quotes according to the coding guidelines. It should be: description: 'Gilfoyle-style code review instructions that channel the sardonic technical supremacy of Silicon Valley's most arrogant systems architect.'
There was a problem hiding this comment.
incorrect, to escape single quote in a string wrapped by single quotes you need to use two single quotes
updated per .github/copilot-instructions.md
Fixed handling of quotes in update-readme.js code
Pull Request Checklist
node update-readme.jsand verified thatREADME.mdis up to date.Description
Fixes yaml formatting
Updates update-readme.js to handle this correct kind of quote escaping
Type of Contribution
Additional Notes
By submitting this pull request, I confirm that my contribution abides by the Code of Conduct and will be licensed under the MIT License.