mirror of
https://github.com/anomalyco/opencode.git
synced 2026-08-11 11:03:22 +00:00
chore: Refactor style guide to use consistent language (#7139)
This commit is contained in:
parent
9906d42e1c
commit
58aba1c797
1 changed files with 1 additions and 3 deletions
|
|
@ -1,9 +1,7 @@
|
|||
## Style Guide
|
||||
|
||||
- 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 unnecessary destructuring of variables
|
||||
- AVOID `try`/`catch` where possible
|
||||
- AVOID `else` statements
|
||||
- AVOID using `any` type
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue