We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 543d6d1 commit 4435b76Copy full SHA for 4435b76
1 file changed
AGENTS.md
@@ -45,6 +45,13 @@ Source code is in `src/`.
45
- Semicolons: Required
46
- Array constructor: Avoid `new Array()` (oxlint will warn)
47
48
+## Development Principles
49
+
50
+- **DRY (Don't Repeat Yourself)**: Extract common logic into reusable functions; avoid duplication
51
+- **YAGNI (You Ain't Gonna Need It)**: Implement only what's needed; avoid over-engineering
52
+- **SOLID**: Follow single responsibility, open/closed, and interface segregation principles
53
+- **OWASP**: Prioritize security; avoid unsafe operations, validate inputs, prevent injection risks
54
55
## API Reference
56
57
- `lru(max, ttl, resetTtl)` - Factory function to create cache
0 commit comments