Using assignments in return statements can make code harder to read and can lead to confusion about whether the assignment or the returned value is the primary intent.
Assignment expressions return the assigned value, but mixing assignment with return makes the control flow less clear.
If your codebase uses assignments in return statements as a common idiom and you find them readable, you might choose to disable this rule.
However, separating assignments from return statements generally improves code clarity and reduces potential for confusion.