id: no-countall-number language: typescript severity: error message: "Don't use countAll() - use countAll() instead. PostgreSQL COUNT returns bigint (string), so the type annotation is misleading." note: "Use Number() to convert the result if you need a number type." rule: pattern: $OBJ.countAll() fix: $OBJ.countAll()