When a function returns a value, but the caller does not assign that returned value to a variable, this can be a code bug. It would be useful to flag this to users. We currently have unused-coroutine, which does this for async return values, but this would be a more general case unused-return-value.
When a function returns a value, but the caller does not assign that returned value to a variable, this can be a code bug. It would be useful to flag this to users. We currently have
unused-coroutine, which does this for async return values, but this would be a more general caseunused-return-value.