chore: Refactor style guide to use consistent language (#7139)

This commit is contained in:
kamkm 2026-01-07 01:54:16 +02:00 committed by GitHub
parent 9906d42e1c
commit 58aba1c797
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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