Skip to content

Commit 3298c46

Browse files
committed
添加语言要求,确保生成的代码、注释和文档始终使用英语
1 parent 1f78b09 commit 3298c46

3 files changed

Lines changed: 425 additions & 424 deletions

File tree

.github/copilot-instructions.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,3 +77,4 @@ You must strictly enforce the following dependency rules:
7777
2. **Error Handling:** Throw `ObjectQLError` (from `types`) instead of generic `Error`.
7878
3. **Config Format:** The primary input format is `.object.yml`.
7979
4. **NPM Scopes:** All internal imports must use the `@objectql/` scope (e.g., `import ... from '@objectql/types'`).
80+
5. **Language Requirement:** Always use English when generating code, comments, or documentation, even if the user prompts in another language.

0 commit comments

Comments
 (0)