mirror of
https://github.com/Sendouc/sendou.ink.git
synced 2026-03-21 18:04:39 -05:00
Add AGENTS.md
This commit is contained in:
parent
8fc76fd317
commit
9edc6b363f
|
|
@ -2,8 +2,6 @@
|
||||||
|
|
||||||
- only rarely use comments, prefer descriptive variable and function names (leave existing comments as is)
|
- 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
|
- 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
|
## Commands
|
||||||
|
|
||||||
|
|
@ -15,8 +13,6 @@
|
||||||
## Typescript
|
## Typescript
|
||||||
|
|
||||||
- prefer early return over nesting if statements
|
- 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
|
- do not use `any` type
|
||||||
- for constants use ALL_CAPS
|
- for constants use ALL_CAPS
|
||||||
- always use named exports
|
- always use named exports
|
||||||
Loading…
Reference in New Issue
Block a user