Skip to content

Commit c8630bb

Browse files
committed
chore: update ai rules
1 parent 73c012a commit c8630bb

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

AGENTS.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -207,6 +207,7 @@ suspend fun getData(): Result<Data> = withContext(Dispatchers.IO) {
207207
- ALWAYS wrap `ULong` numbers with `USat` in arithmetic operations, to guard against overflows
208208
- PREFER to use one-liners with `run { }` when applicable, e.g. `override fun someCall(value: String) = run { this.value = value }`
209209
- ALWAYS add imports instead of inline fully-qualified names
210+
- NEVER use file-level `@file:Suppress(...)` annotations; ALWAYS add `@Suppress(...)` as close as possible to the erroring lines (function, property, or statement level)
210211

211212
### Architecture Guidelines
212213

0 commit comments

Comments
 (0)