Skip to content

Commit 4d316ed

Browse files
authored
docs: add HTTP request rule to CLAUDE.md (#1157)
* docs: add HTTP request rule — use @socketsecurity/lib/http-request, not fetch() * docs: standardize HTTP request rule format in CLAUDE.md
1 parent f0f446e commit 4d316ed

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

CLAUDE.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,7 @@ All shared standards (git, testing, code style, cross-platform, CI) defined in s
100100
- Backward Compatibility: 🚨 FORBIDDEN to maintain - actively remove when encountered (see canonical CLAUDE.md)
101101
- Work Safeguards: MANDATORY commit + backup branch before bulk changes
102102
- Safe Deletion: Use `safeDelete()` from `@socketsecurity/lib/fs` (NEVER `fs.rm/rmSync` or `rm -rf`)
103+
- HTTP Requests: NEVER use `fetch()` — use `httpJson`/`httpText`/`httpRequest` from `@socketsecurity/lib/http-request`
103104

104105
### Documentation Policy
105106

0 commit comments

Comments
 (0)