Ah, leave people alone.
I stopped using ternary expressions because someone told me not to. I could start using them again, whatever.
I use while loops when the burden of describing the loop as an iteration is too high (too much of a stretch), or when I'm writing something that really isn't a composition of forEach/map/filter/reduce (gasp).
For me, it's whatever I need to do to get through code review without arguing too much.
Don't add linter checks for these things, it's condescending.
At the very least, have the "greater good" on your side, e.g. "it confuses some people!" or "it is often a bug!" or "it can become a maintenance nightmare!" or whatever. If your reason is "I like it better this way," well then yeah, the reaction I would anticipate is "who asked you?"
The reason this bothers me isn't that I strongly disagree, but that I'm in the habit of doing whatever my linter tells me, and adding stuff like this cheapens the thing and makes it harder to sell to "I'm an expert, get off my lawn" people.
Why am I even writing this, I'm knee deep in C++ these days.