lint/control-flow/no-assign-in-condition
In the lint-essential preset and every stricter one. Report only. Intent: correctness.
What it does
Detects assignments in conditions. They can cause unexpected behavior and make the code harder to read.
Configuration
[lint.rules]
"control-flow/no-assign-in-condition" = "error"
To skip it in some files or lines, add an override or an ignore comment.
Replaces
no-assign-in-condition(mago-linter)