Add AGENTS.md

This commit is contained in:
Kalle 2025-10-04 11:42:19 +03:00
parent 8fc76fd317
commit 9edc6b363f
2 changed files with 1 additions and 4 deletions

View File

@ -2,8 +2,6 @@
- only rarely use comments, prefer descriptive variable and function names (leave existing comments as is)
- if you encounter an existing TODO comment assume it is there for a reason and do not remove it
- for running scripts `npm` is used
- all the imports should be at the top of the file
## Commands
@ -15,8 +13,6 @@
## Typescript
- prefer early return over nesting if statements
- prefer using `const` over `let` when the variable is not reassigned
- never use `var`
- do not use `any` type
- for constants use ALL_CAPS
- always use named exports

1
CLAUDE.md Normal file
View File

@ -0,0 +1 @@
@AGENTS.md