When a non-null assertion (!) appears immediately before an assignment (=) or comparison operator (==, ===, in, instanceof), it can be visually confused with a different operator.
For example, a! == b looks similar to a !== b, and a! = b looks similar to a != b.
This visual ambiguity can make code harder to understand and may cause readers to misinterpret the intended logic.
If your team is familiar with non-null assertions and the visual similarity does not cause confusion in your codebase, you may choose to disable this rule.
Projects with established conventions around non-null assertion placement may also opt out.