We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3db757a commit b7dc8b5Copy full SHA for b7dc8b5
1 file changed
CLAUDE.md
@@ -73,6 +73,13 @@ prompt flow, or persistence semantics without explicit instruction.
73
- **Rust FFI** — preserve type/memory-safety across JNI boundary
74
- **Room schema** — check migration implications before changing entities
75
76
+## Code Style
77
+
78
+- **Brace-less `if`/`else`** for single-expression branches — even if the expression spans multiple
79
+ lines (e.g. a `viewModelScope.launch { … }` block). Only use braces when a branch contains
80
+ multiple statements.
81
+- **Trailing commas** on multi-line parameter lists and collection literals.
82
83
## Testing
84
85
- kotlin-test + MockK + kotlinx-coroutines-test; Compose UI tests with Espresso
0 commit comments