docs(agents): add something about duplication [skip ci]
This commit is contained in:
parent
bb37a57c79
commit
8daa244e52
|
|
@ -261,6 +261,7 @@ After adjusting the source string, you need to call the respective translation l
|
||||||
- Go: golangci-lint per `.golangci.yml`; use goimports; wrap errors with `fmt.Errorf("...: %w", err)`; enforce permissions checks in models; never log secrets; do not edit generated `pkg/swagger/*`
|
- Go: golangci-lint per `.golangci.yml`; use goimports; wrap errors with `fmt.Errorf("...: %w", err)`; enforce permissions checks in models; never log secrets; do not edit generated `pkg/swagger/*`
|
||||||
- Vue: ESLint + TS; single quotes, trailing commas, no semicolons, tab indent; script setup + lang ts; keep services/models in sync with backend
|
- Vue: ESLint + TS; single quotes, trailing commas, no semicolons, tab indent; script setup + lang ts; keep services/models in sync with backend
|
||||||
- Follow existing patterns for consistency
|
- Follow existing patterns for consistency
|
||||||
|
- Before creating a new file, function, or helper, search the codebase (`grep` / `rg`) for existing code that does the same thing. Prefer extending an existing helper over duplicating it. If logic overlaps an existing function significantly, reuse it.
|
||||||
|
|
||||||
**Naming Conventions:**
|
**Naming Conventions:**
|
||||||
- Go: Standard Go conventions (PascalCase for exports, camelCase for private)
|
- Go: Standard Go conventions (PascalCase for exports, camelCase for private)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue