mirror of
https://github.com/github/awesome-copilot.git
synced 2026-07-16 02:43:24 +00:00
chore: publish from main
This commit is contained in:
@@ -6,7 +6,7 @@ applyTo: '**/*.ts, **/*.js, **/*.json'
|
||||
## Guidance for Code Generation
|
||||
- Generate modern TypeScript code for Node.js
|
||||
- Use `async/await` for asynchronous code
|
||||
- Whenever possible, use Node.js v20 built-in modules instead of external packages
|
||||
- Whenever possible, use Node.js v22 LTS built-in modules instead of external packages
|
||||
- Always use Node.js async functions, like `node:fs/promises` instead of `fs` to avoid blocking the event loop
|
||||
- Ask before adding any extra dependencies to the project
|
||||
- The API is built using Azure Functions using `@azure/functions@4` package.
|
||||
|
||||
Reference in New Issue
Block a user