ignore: docs & style
This commit is contained in:
parent
f1138b9a55
commit
5b34636afa
4 changed files with 15 additions and 13 deletions
13
AGENTS.md
13
AGENTS.md
|
|
@ -1,16 +1,3 @@
|
|||
## IMPORTANT
|
||||
|
||||
- Try to keep things in one function unless composable or reusable
|
||||
- DO NOT do unnecessary destructuring of variables
|
||||
- DO NOT use `else` statements unless necessary
|
||||
- DO NOT use `try`/`catch` if it can be avoided
|
||||
- AVOID `try`/`catch` where possible
|
||||
- AVOID `else` statements
|
||||
- AVOID using `any` type
|
||||
- AVOID `let` statements
|
||||
- PREFER single word variable names where possible
|
||||
- Use as many bun apis as possible like Bun.file()
|
||||
|
||||
## Debugging
|
||||
|
||||
- To test opencode in the `packages/opencode` directory you can run `bun dev`
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue