summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorkamkm <[email protected]>2026-01-07 01:54:16 +0200
committerGitHub <[email protected]>2026-01-06 17:54:16 -0600
commit58aba1c797363570423508f1029aa72f91f256d6 (patch)
tree80deacc16e11f5b5e510de1d303ed8bdd0033a05
parent9906d42e1c780bd9b370a6617707758ec2b4bbc1 (diff)
downloadopencode-58aba1c797363570423508f1029aa72f91f256d6.tar.gz
opencode-58aba1c797363570423508f1029aa72f91f256d6.zip
chore: Refactor style guide to use consistent language (#7139)
-rw-r--r--STYLE_GUIDE.md4
1 files changed, 1 insertions, 3 deletions
diff --git a/STYLE_GUIDE.md b/STYLE_GUIDE.md
index 164f69bd4..47d008fb4 100644
--- a/STYLE_GUIDE.md
+++ b/STYLE_GUIDE.md
@@ -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