From 3dc3589b8c03e4888a15ae0c1e5924ef501aa157 Mon Sep 17 00:00:00 2001 From: yyh <92089059+lyzno1@users.noreply.github.com> Date: Sun, 7 Dec 2025 11:37:26 +0800 Subject: [PATCH] chore: update AGENTS guidance for frontend tooling (#29228) --- AGENTS.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/AGENTS.md b/AGENTS.md index 2ef7931efc..782861ad36 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -24,8 +24,8 @@ The codebase is split into: ```bash cd web -pnpm lint pnpm lint:fix +pnpm type-check:tsgo pnpm test ``` @@ -39,7 +39,7 @@ pnpm test ## Language Style - **Python**: Keep type hints on functions and attributes, and implement relevant special methods (e.g., `__repr__`, `__str__`). -- **TypeScript**: Use the strict config, lean on ESLint + Prettier workflows, and avoid `any` types. +- **TypeScript**: Use the strict config, rely on ESLint (`pnpm lint:fix` preferred) plus `pnpm type-check:tsgo`, and avoid `any` types. ## General Practices